
:root {
  --ink: #231815;
  --cream: #f5ecd9;
  --paper: #fffaf0;
  --red: #8c2d24;
  --red-dark: #621c17;
  --gold: #e1a92f;
  --blue: #173f5f;
  --green: #315c45;
  --line: rgba(35, 24, 21, 0.16);
  --shadow: 0 24px 60px rgba(54, 27, 19, 0.14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

button, a { color: inherit; font: inherit; }
button { cursor: pointer; }
a { text-decoration: none; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 76px);
  border-bottom: 1px solid rgba(255, 250, 240, 0.14);
  background: rgba(98, 28, 23, 0.92);
  color: var(--paper);
  backdrop-filter: blur(12px);
  transition: height 200ms ease, box-shadow 200ms ease;
}
.story-art {
    height: 300px;
    overflow: hidden;
    background: none;
}

.story-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-art1 {
    height: 300px;
    overflow: hidden;
    background: none;
}

.story-art1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.story-art2 {
    height: 300px;
    overflow: hidden;
    background: none;
}

.story-art2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}
.indara{
border: solid 12px #0d09fc;

}
.pinya{
border: solid 12px #0d09fc;

}

.sampa{
border: solid 12px #0d09fc;

}


.kasay{
display: absolute;
  width: 120%;
  height: 140%;
 padding: 0;
 margin: 0;
  right: 50%;
  z-index: 0;

  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, rgb(189, 46, 46) 70%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to left, rgb(189, 46, 46, 0.8) 70%, rgba(0, 0, 0, 0) 100%);
}


.site-header.scrolled { height: 66px; box-shadow: 0 10px 30px rgba(35, 24, 21, 0.2); }

.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 0.84rem; font-weight: 700; letter-spacing: 0.24em; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--gold); font-size: 1.15rem; }

.main-nav { display: flex; gap: clamp(22px, 3vw, 48px); }
.main-nav a { position: relative; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; }
.main-nav a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; background: var(--gold); content: ""; transform: scaleX(0); transition: transform 200ms ease; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.menu-button { display: none; width: 43px; height: 43px; padding: 10px; border: 0; background: transparent; }
.menu-button span { width: 22px; height: 2px; display: block; margin: 5px auto; border-radius: 2px; background: currentColor; transition: 200ms ease; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.75fr);
  align-items: center;
  gap: clamp(40px, 8vw, 130px);
  padding: 145px clamp(28px, 7vw, 110px) 100px;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
}



.hero::before { position: absolute; top: 76px; bottom: 0; left: clamp(18px, 2.5vw, 42px); width: 1px; background: var(--line); content: ""; }
.hero::after { position: absolute; inset: auto 0 0; height: 15px; background: repeating-linear-gradient(135deg, var(--gold) 0 16px, var(--red) 16px 32px, var(--blue) 32px 48px, var(--cream) 48px 64px); content: ""; }

.hero-pattern, .quote-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  display: flex;
 flex-direction: column;
 justify-content: flex-end;
  mask-image: linear-gradient(90deg, transparent, black 72%);
}

.hero-copy { position: relative; z-index: 2; }
.hero-edition { display: inline-block; margin: 0 0 44px; padding-bottom: 7px; border-bottom: 1px solid var(--red); color: var(--red); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { margin: 0 0 22px; color: var(--gold); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.19em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); }
h1 { max-width: 820px; margin-bottom: 27px; font-size: clamp(4rem, 8.7vw, 8.5rem); line-height: 0.88; letter-spacing: -0.055em; }
h1 em { color: var(--red); font-weight: 600; }
.hero-intro { max-width: 650px; margin-bottom: 38px; color: rgba(35,24,21,.66); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }

.button { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 23px; border: 1px solid transparent; border-radius: 2px; font-weight: 700; }
.button-primary { background: var(--red); color: var(--paper); }
.button-primary:hover { background: var(--ink); }
.text-link { padding: 8px 0; border-bottom: 1px solid rgba(35,24,21,.45); font-weight: 600; }

.section { padding: clamp(90px, 11vw, 160px) clamp(24px, 7vw, 110px); }
.section-heading { max-width: 690px; margin-bottom: 58px; }
.section-heading h2, .history-intro h2, .quiz-copy h2 { margin-bottom: 18px; font-size: clamp(3rem, 6vw, 6.2rem); line-height: .98; letter-spacing: -.045em; }
.section-heading > p:last-child, .history-intro > p:last-child, .quiz-copy > p { max-width: 590px; color: rgba(35,24,21,.66); font-size: 1.05rem; }

.stories-section { background: var(--blue); color: var(--paper); }
.section-heading.light > p:last-child { color: rgba(255,250,240,.67); }
.story-grid { max-width: 1300px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.story-card { min-height: 520px; display: grid; grid-template-rows: 240px 1fr; border: 1px solid rgba(255,250,240,.2); background: rgba(255,250,240,.05); }
.story-content { display: flex; align-items: flex-start; flex-direction: column; padding: clamp(26px, 4vw, 44px); }
.story-meta { margin-bottom: 14px; color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.story-content h3 { margin-bottom: 13px; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1; }
.story-content > p:not(.story-meta) { color: rgba(255,250,240,.67); }
.story-button { margin-top: auto; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(255,250,240,.4); background: transparent; font-weight: 700; }
.story-button:hover { color: var(--gold); }

.art-waves { background: var(--red); }
.art-waves::before { position: absolute; inset: 10%; border: 18px double var(--gold); border-radius: 50%; content: ""; }
.art-waves span { position: absolute; inset: 38%; border: 7px solid var(--paper); transform: rotate(45deg); }
.art-leaf { background: var(--green); }
.art-leaf::before { position: absolute; inset: 18% 29%; border: 3px solid var(--gold); border-radius: 100% 0 100% 0; content: ""; transform: rotate(-15deg); }
.art-leaf::after { position: absolute; top: 10%; left: 50%; width: 2px; height: 80%; background: var(--gold); content: ""; transform: rotate(-35deg); }

.history-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 10vw, 160px); background: var(--paper); }
.history-intro { position: sticky; top: 120px; align-self: start; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 35px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.year { color: var(--red); font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
.timeline h3 { margin-bottom: 7px; font-size: 1.45rem; }
.timeline p { margin: 0; color: rgba(35,24,21,.62); }

.quote-section { position: relative; min-height: 520px; display: grid; place-items: center; padding: 90px 24px; overflow: hidden; background: var(--red); color: var(--paper); text-align: center; }
.quote-pattern { opacity: .18; mask-image: radial-gradient(circle at center, black, transparent 65%); }
blockquote { position: relative; z-index: 1; max-width: 990px; margin: 0; }
.quote-mark { display: block; height: 80px; color: var(--gold); font-family: var(--serif); font-size: 8rem; line-height: 1; }
blockquote p { margin-bottom: 28px; font-family: var(--serif); font-size: clamp(2.1rem, 5vw, 5rem); line-height: 1.12; letter-spacing: -.035em; }
blockquote footer { color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.quiz-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(45px, 9vw, 140px); background: var(--gold); }
.quiz-progress { max-width: 390px; margin-top: 50px; font-size: .8rem; font-weight: 700; }
.progress-track { height: 4px; margin-top: 10px; background: rgba(35,24,21,.18); }
#progress-bar { width: 33.33%; height: 100%; display: block; background: var(--red); transition: width 300ms ease; }
.quiz-card { padding: clamp(30px, 5vw, 62px); background: var(--paper); box-shadow: var(--shadow); }
.quiz-kicker { color: var(--red); font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.quiz-card h3 { margin: 20px 0 30px; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.2; }
.quiz-options { display: grid; gap: 10px; }
.option-button { width: 100%; padding: 15px 17px; border: 1px solid var(--line); background: transparent; text-align: left; }
.option-button:hover:not(:disabled) { border-color: var(--red); background: rgba(140,45,36,.05); }
.option-button.correct { border-color: var(--green); background: rgba(49,92,69,.12); }
.option-button.incorrect { border-color: var(--red); background: rgba(140,45,36,.1); }
.quiz-feedback { min-height: 27px; margin: 18px 0; font-weight: 700; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:disabled { cursor: not-allowed; opacity: .35; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 40px; padding: 60px clamp(24px, 7vw, 110px); background: var(--ink); color: var(--paper); }
.footer-brand { margin-bottom: 18px; }
.site-footer p { margin: 0; color: rgba(255,250,240,.5); font-size: .8rem; }
.back-top { color: var(--gold); font-size: .82rem; font-weight: 700; }

.story-modal { width: min(680px, calc(100% - 30px)); max-height: 84vh; padding: clamp(30px, 6vw, 60px); border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.story-modal::backdrop { background: rgba(35,24,21,.72); backdrop-filter: blur(4px); }
.story-modal h2 { margin-bottom: 25px; color: var(--red); font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1; }
#modal-body { color: rgba(35,24,21,.75); }
#modal-body p { margin-bottom: 18px; }
.modal-close { position: absolute; top: 15px; right: 18px; width: 42px; height: 42px; border: 0; background: transparent; font-size: 2rem; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-art { width: min(72vw, 480px); }
  .history-section, .quiz-section { grid-template-columns: 1fr; }
  .history-intro { position: static; }
}

@media (max-width: 680px) {
  .site-header { height: 68px; }
  .menu-button { display: block; }
  .menu-button.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button.open span:nth-child(2) { opacity: 0; }
  .menu-button.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 68px 0 auto; display: grid; gap: 0; padding: 18px 24px 28px; background: var(--red-dark); transform: translateY(-140%); transition: transform 250ms ease; }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,250,240,.12); }
  .hero { grid-template-columns: 1fr; gap: 60px; padding: 120px 24px 90px; }
  h1 { font-size: clamp(3.6rem, 17vw, 6rem); }
  .hero-side-note { display: none; }
  .poster-stamp { right: -18px; }
  .section { padding: 85px 24px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-featured { grid-row: auto; }
  .story-card { min-height: 500px; }
  .timeline li { grid-template-columns: 80px 1fr; gap: 16px; }
  .quote-section { min-height: 490px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
