:root {
  --ink: #241711;
  --brown: #5c3524;
  --brown-deep: #3e2118fd;
  --terracotta: #a85d3c;
  --paper: #efe4cc;
  --paper-light: #f8f1df;
  --gold: #e7b840;
  --flag-blue: #174f8f;
  --flag-red: #b52b32;
  --white: #fffaf0;
  --line: rgba(61, 33, 24, 0.22);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --header-height: 90px;
  
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--brown-deep);
  font-family: var(--sans);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.paper-grain {
  position: fixed;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 90px 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 250, 240, 0.18);
  color: var(--white);
  transition: background 250ms ease, height 250ms ease, box-shadow 250ms ease;
  
}

.site-header.scrolled,
.site-header.menu-open {
  height: 74px;
  background: rgba(62, 33, 24, 0.96);
  box-shadow: 0 8px 30px rgba(34, 18, 13, 0.18);
  backdrop-filter: blur(12px);
  backdrop-filter: blur;
}

.menu-button {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(255, 250, 240, 0.18);
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 25px;
  height: 2px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}



.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 13px;
  font-weight: 600;
}

.nav-link {
  position: relative;
  padding: 10px 0;
  opacity: 0.7;
  transition: opacity 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  opacity: 1;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
  margin-right: 28px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 250, 240, 0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.header-text {
font-size: 200%;
color: var(--white);
font-family: 'Times New Roman', Times, serif;
text-shadow: 0 0 5px #000000;
margin-left: 20px;
}


.boni-container {
  position: relative; 
  width: 500px;       
  height: 300px
}


.boni {
 position: absolute;
  top: 0;
  left: 30%;
  z-index: 1;      
  width: 100%;
  height: 100%;
  object-fit: cover;
   -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
  
}










.hero {
    
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  min-height: 100vh;
  padding: calc(var(--header-height) + 75px) clamp(28px, 7vw, 115px) 75px;
  overflow: hidden;
  color: var(--white);
  
    
}


.hero::after {
  position: absolute;
  top: 0;
  right: -3%;
  bottom: 0;
  width: 65%;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;

  opacity: .48;

  z-index: 1000;
}
.hero-copy {
  position: relative;
  z-index: 5;
  align-self: center;
  max-width: 720px;
}


.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 32px;
  height: 2px;
  background: currentColor;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(64px, 8.3vw, 132px);
}

.hero h1 em,
.section h2 em {
  color: var(--gold);
  font-weight: 600;
}

.hero-description {
  max-width: 490px;
  margin: 30px 0 32px;
  color: rgba(255, 250, 240, 0.68);
  font-size: 16px;
  line-height: 1.75;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  min-width: 282px;
  padding: 17px 20px;
  color: var(--ink);
  background: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: gap 180ms ease, background 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  gap: 55px;
  background: var(--white);
}

.hero-art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-self: center;
  min-height: 520px;
}


.hero-quote {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  width: 240px;
  padding: 18px;
  border-top: 1px solid rgba(255, 250, 240, 0.25);
  color: rgba(255, 250, 240, 0.7);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.hero-quote > span {
  color: var(--gold);
  font-size: 44px;
  line-height: 0.7;
}

.hero-quote p {
  margin: 0;
}









.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  padding: 80px clamp(28px, 8vw, 130px) 30px;
  color: var(--white);
  background: #291813;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.footer-brand h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 32px;
}

.footer-brand p {
  max-width: 380px;
  margin: 0;
  color: rgba(255, 250, 240, 0.55);
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.footer-links h3 {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  width: max-content;
  margin: 10px 0;
  color: rgba(255, 250, 240, 0.65);
  font-size: 14px;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 250, 240, 0.14);
  color: rgba(255, 250, 240, 0.42);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

/* Elements fade upward as they enter the screen. script.js adds .visible. */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 950px) {
  .site-header {
    grid-template-columns: 74px 1fr auto;
  }

  .brand {
    margin-left: 20px;
  }
}
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(360px, 100vw);
    padding: 15px 28px 25px;
    background: rgba(62, 33, 24, 0.98);
    box-shadow: 15px 20px 35px rgba(30, 15, 10, 0.25);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 240ms ease, visibility 240ms ease;
  }

  .site-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-link {
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.12);
    font-family: var(--serif);
    font-size: 21px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 145px;
  }

  .hero-art {
    position: absolute;
    right: -120px;
    bottom: 10px;
    min-height: 0;
    opacity: 0.42;
  }

  .sun-disc {
    width: 450px;
  }

  .hero-copy {
    align-self: start;
  }

  .hero-description {
    max-width: 420px;
  }



.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  margin-left: 28px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.16em;
}


  .brand-sun {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
  font-size: 21px;
}


/* =========================================================
   MGA BAYANI
   ========================================================= */

.heroes-section {
    position: relative;

    padding: 130px 7%;

    overflow: hidden;

    background: #171512;

    color: #f5ead4;
}


/* BACKGROUND DECORATION */

.heroes-section::before {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: .25;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(190,150,75,.12),
            transparent 25%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(190,150,75,.08),
            transparent 30%
        );
}


/* =========================================================
   HEADER
   ========================================================= */

.heroes-header {
    position: relative;
    z-index: 2;

    max-width: 850px;

    margin: 0 auto 80px;

    text-align: center;
}

.heroes-label {
    display: inline-block;

    padding: 8px 18px;

    border: 1px solid #9e793d;

    color: #c3a05d;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 4px;
}

.heroes-header h2 {
    margin: 22px 0 20px;

    font-family: Georgia, serif;

    font-size: clamp(45px, 6vw, 78px);

    line-height: 1;

    font-weight: 500;

    letter-spacing: -3px;
}

.heroes-header h2 span {
    color: #c29a50;

    font-style: italic;
}

.heroes-header p {
    max-width: 680px;

    margin: auto;

    color: #aaa091;

    font-size: 15px;

    line-height: 1.9;
}


/* =========================================================
   GRID
   ========================================================= */

.heroes-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

    max-width: 1250px;

    margin: auto;
}


/* =========================================================
   CARD
   ========================================================= */

.hero-card {
    position: relative;

    overflow: hidden;

    border: 1px solid rgba(194,154,80,.25);

    background:
        linear-gradient(
            145deg,
            #26221b,
            #1c1915
        );

    transition:
        transform .5s ease,
        border-color .5s ease,
        box-shadow .5s ease;
}

.hero-card:hover {
    transform: translateY(-7px);

    border-color: rgba(194,154,80,.55);

    box-shadow:
        0 25px 60px rgba(0,0,0,.35);
}


/* NUMBER */

.hero-number {
    position: absolute;

    top: 30px;
    right: 38px;

    z-index: 3;

    color: rgb(141, 123, 112);
font-weight: bold;
    font-family: Georgia, serif;

    font-size: 25px;
}


/* =========================================================
   PICTURE FRAME
   ========================================================= */

.hero-frame {
    position: relative;

    margin: 25px;

    padding: 10px;

    border: 1px solid #a37d3e;

    background: #c7a76b;

    box-shadow:
        0 10px 30px rgba(0,0,0,.3);
}


/* FRAME CORNERS */

.hero-frame::before,
.hero-frame::after {
    content: "";

    position: absolute;

    width: 22px;
    height: 22px;

    z-index: 2;

    border-color: #6f5227;
}

.hero-frame::before {
    top: 5px;
    left: 5px;

    border-top: 2px solid;
    border-left: 2px solid;
}

.hero-frame::after {
    bottom: 5px;
    right: 5px;

    border-right: 2px solid;
    border-bottom: 2px solid;
}


/* IMAGE */

.hero-placeholder {
    aspect-ratio: 4 / 5;

    display: grid;

    place-items: center;

    background:
        linear-gradient(
            145deg,
            #665d50,
            #302b25
        );

    color: rgba(255,235,195,.7);

    font-family: Georgia, serif;

    font-size: 65px;

    font-weight: bold;

    filter: sepia(.3);
}


/*
   Kapag may actual images ka,
   palitan ang hero-placeholder ng img.
*/

.hero-frame img {
    display: block;

    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    filter: sepia(.25) contrast(.95);

    transition:
        transform .6s ease,
        filter .6s ease;
}

.hero-card:hover .hero-frame img {
    transform: scale(1.03);

    filter: sepia(.05) contrast(1);
}


/* =========================================================
   CARD INFO
   ========================================================= */

.hero-info {
    padding: 5px 30px 30px;
}

.hero-era {
    color: #9d793e;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;
}

.hero-info h3 {
    margin: 9px 0 10px;

    color: #eee2ca;

    font-family: Georgia, serif;

    font-size: 27px;

    font-weight: 500;
}

.hero-info p {
    margin: 0;

    min-height: 70px;

    color: #999082;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   OPEN BUTTON
   ========================================================= */

.hero-open {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 22px;

    padding: 9px 0;

    border: none;

    border-bottom: 1px solid #967238;

    background: transparent;

    color: #c29a50;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    cursor: pointer;
}

.hero-open span {
    font-size: 18px;

    transition: transform .3s ease;
}

.hero-open:hover span {
    transform: rotate(90deg);
}


/* =========================================================
   DETAILS
   ========================================================= */

.hero-details {
    max-height: 0;

    overflow: hidden;

    padding: 0 30px;

    opacity: 0;

    transition:
        max-height .65s ease,
        opacity .4s ease,
        padding .5s ease;
}


/* OPEN CARD */

.hero-card.open {
    transform: translateY(-5px);

    border-color: rgba(194,154,80,.7);
}

.hero-card.open .hero-details {
    max-height: 600px;

    padding: 0 30px 35px;

    opacity: 1;
}

.hero-card.open .hero-open span {
    transform: rotate(45deg);
}


/* DETAILS LINE */

.details-line {
    width: 100%;

    height: 1px;

    margin-bottom: 25px;

    background:
        linear-gradient(
            90deg,
            #a47d3d,
            transparent
        );
}

.hero-details h4 {
    margin: 0 0 12px;

    color: #c6a05c;

    font-family: Georgia, serif;

    font-size: 19px;

    font-weight: 500;
}

.hero-details p {
    color: #a79d8d;

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================================
   ACHIEVEMENTS
   ========================================================= */

.hero-achievements {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin: 20px 0;
}

.hero-achievements div {
    padding: 15px;

    border: 1px solid rgba(194,154,80,.18);

    background: rgba(194,154,80,.04);
}

.hero-achievements strong {
    display: block;

    margin-bottom: 5px;

    color: #c6a05c;

    font-family: Georgia, serif;

    font-size: 16px;
}

.hero-achievements span {
    color: #81796c;

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   ENDING
   ========================================================= */

.heroes-ending {
    position: relative;
    z-index: 2;

    max-width: 700px;

    margin: 110px auto 0;

    padding-top: 55px;

    text-align: center;

    border-top: 1px solid rgba(194,154,80,.2);
}

.heroes-ending > span {
    color: #bd944c;

    font-size: 30px;
}

.heroes-ending h3 {
    margin: 18px 0 15px;

    font-family: Georgia, serif;

    font-size: 30px;

    font-weight: 500;
}

.heroes-ending p {
    color: #918878;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .heroes-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .heroes-section {
        padding: 90px 20px;
    }

    .heroes-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .hero-card {
        max-width: 500px;

        margin: auto;

        width: 100%;
    }

    .heroes-header h2 {
        font-size: 43px;
    }

    .hero-frame {
        margin: 20px;
    }

    .hero-info {
        padding-left: 25px;
        padding-right: 25px;
    }

    .hero-card.open .hero-details {
        padding-left: 25px;
        padding-right: 25px;
    }
}