: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;
}

/* =========================================================
   MUSEUM HISTORY TIMELINE
   ========================================================= */

.history-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 7%;

    overflow: hidden;

    color: #30281d;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(180, 140, 70, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(180, 140, 70, 0.08),
            transparent 35%
        ),
        #f3ead3;
}


/* PAPER TEXTURE */

.history-section::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: .25;

    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(70, 50, 25, .035) 0px,
            rgba(70, 50, 25, .035) 1px,
            transparent 1px,
            transparent 5px
        );
}


/* =========================================================
   HEADER
   ========================================================= */

.history-header {
    position: relative;
    z-index: 2;

    max-width: 800px;

    margin: 0 auto 80px;

    text-align: center;
}

.section-label {
    display: inline-block;

    padding: 8px 18px;

    border: 1px solid #9b7639;

    color: #876426;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 4px;

    background: rgba(255,255,255,.25);
}

.history-header h2 {
    margin: 22px 0 18px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(42px, 6vw, 78px);

    line-height: 1;

    font-weight: 500;

    letter-spacing: -3px;
}

.history-header h2 span {
    color: #98702c;

    font-style: italic;
}

.history-header p {
    max-width: 600px;

    margin: auto;

    color: #706653;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   TIMELINE
   ========================================================= */

.museum-timeline {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: 80px minmax(0, 900px) 80px;

    align-items: center;

    justify-content: center;

    gap: 30px;

    min-height: 570px;

    margin: auto;
}


/* =========================================================
   DISPLAY
   ========================================================= */

.history-display {
    position: relative;

    min-height: 530px;

    padding: 60px 70px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border: 1px solid rgba(140, 102, 42, .35);

    background:
        linear-gradient(
            145deg,
            rgba(255, 252, 241, .94),
            rgba(239, 226, 198, .9)
        );

    box-shadow:
        0 30px 70px rgba(69, 48, 20, .12),
        inset 0 0 80px rgba(170, 130, 50, .04);
}


/* CORNER DETAILS */

.history-display::before,
.history-display::after {
    content: "";

    position: absolute;

    width: 35px;
    height: 35px;

    border-color: #a67c38;

    opacity: .65;
}

.history-display::before {
    top: 15px;
    left: 15px;

    border-top: 1px solid;
    border-left: 1px solid;
}

.history-display::after {
    bottom: 15px;
    right: 15px;

    border-right: 1px solid;
    border-bottom: 1px solid;
}


/* =========================================================
   COUNTER
   ========================================================= */

.history-counter {
    position: absolute;

    top: 30px;
    right: 35px;

    display: flex;

    align-items: center;

    gap: 12px;

    color: #96702e;

    font-family: Georgia, serif;

    font-size: 13px;

    letter-spacing: 2px;
}

.counter-line {
    width: 35px;
    height: 1px;

    background: #b39764;
}


/* =========================================================
   CONTENT
   ========================================================= */

.history-content {
    max-width: 700px;

    transition:
        opacity .25s ease,
        transform .25s ease;
}

.history-content.is-changing {
    opacity: 0;

    transform: translateX(30px);
}

.history-date {
    margin-bottom: 12px;

    color: #9a712d;

    font-family: Georgia, serif;

    font-size: clamp(30px, 4vw, 52px);

    font-weight: 700;

    letter-spacing: -1px;
}

.history-era {
    margin-bottom: 18px;

    color: #816027;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.history-content h3 {
    margin: 0 0 20px;

    color: #30271c;

    font-family: Georgia, serif;

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1.1;

    font-weight: 500;
}

.history-content p {
    max-width: 680px;

    margin: 0;

    color: #665d4d;

    font-size: 15px;

    line-height: 1.9;
}


/* =========================================================
   HERO / ACTION BOX
   ========================================================= */

.history-highlight {
    display: flex;

    align-items: center;

    gap: 18px;

    max-width: 620px;

    margin-top: 30px;

    padding: 18px 20px;

    border-left: 3px solid #a57a32;

    background: rgba(157, 116, 43, .06);
}

.highlight-icon {
    display: grid;

    place-items: center;

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    border: 1px solid #a57a32;

    border-radius: 50%;

    color: #98702d;

    font-size: 16px;
}

.history-highlight strong {
    display: block;

    margin-bottom: 5px;

    color: #71521e;

    font-family: Georgia, serif;

    font-size: 14px;
}

.history-highlight span {
    display: block;

    color: #756b5b;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   PROGRESS
   ========================================================= */

.history-progress {
    position: absolute;

    left: 70px;
    right: 70px;
    bottom: 45px;

    height: 2px;

    background: rgba(133, 99, 42, .18);

    overflow: hidden;
}

.history-progress-bar {
    width: 5%;
    height: 100%;

    background: #9b722d;

    transition: width .5s ease;
}


/* =========================================================
   NAVIGATION LABELS
   ========================================================= */

.history-navigation {
    position: absolute;

    left: 70px;
    right: 70px;
    bottom: 17px;

    display: flex;

    justify-content: space-between;

    color: #9a8a6c;

    font-size: 9px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.navigation-label {
    color: #96702e;
}


/* =========================================================
   ARROWS
   ========================================================= */

.history-arrow {
    position: relative;
    z-index: 5;

    display: grid;

    place-items: center;

    width: 70px;
    height: 70px;

    border: 1px solid rgba(139, 103, 44, .45);

    border-radius: 50%;

    background: rgba(255, 250, 235, .6);

    color: #76551f;

    cursor: pointer;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease,
        box-shadow .3s ease;
}

.history-arrow span {
    font-family: Arial, sans-serif;

    font-size: 28px;

    line-height: 1;

    transition: transform .3s ease;
}

.history-arrow:hover {
    background: #9b722d;

    color: #fff;

    box-shadow:
        0 10px 30px rgba(100, 70, 25, .2);

    transform: scale(1.08);
}

.history-prev:hover span {
    transform: translateX(-4px);
}

.history-next:hover span {
    transform: translateX(4px);
}

.history-arrow:disabled {
    opacity: .25;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


/* =========================================================
   ENDING
   ========================================================= */

.history-ending {
    position: relative;
    z-index: 2;

    max-width: 650px;

    margin: 80px auto 0;

    padding-top: 50px;

    text-align: center;

    border-top: 1px solid rgba(130, 95, 38, .25);
}

.ending-symbol {
    margin-bottom: 18px;

    font-size: 40px;
}

.history-ending h3 {
    margin: 0 0 15px;

    font-family: Georgia, serif;

    font-size: 30px;

    font-weight: 500;
}

.history-ending p {
    margin: 0;

    color: #756b5b;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .history-section {
        padding: 80px 20px;
    }

    .museum-timeline {
        grid-template-columns: 50px minmax(0, 1fr) 50px;

        gap: 8px;

        min-height: 600px;
    }

    .history-display {
        min-height: 570px;

        padding: 55px 25px 75px;
    }

    .history-progress {
        left: 25px;
        right: 25px;
    }

    .history-navigation {
        left: 25px;
        right: 25px;
    }

    .history-navigation span:first-child,
    .history-navigation span:last-child {
        display: none;
    }

    .history-arrow {
        width: 48px;
        height: 48px;
    }

    .history-arrow span {
        font-size: 21px;
    }

    .history-counter {
        right: 25px;
    }

    .history-content h3 {
        font-size: 32px;
    }

    .history-content p {
        font-size: 13px;
        line-height: 1.75;
    }
}


@media (max-width: 480px) {

    .history-header h2 {
        font-size: 40px;
    }

    .museum-timeline {
        grid-template-columns: 42px minmax(0, 1fr) 42px;

        gap: 4px;
    }

    .history-display {
        min-height: 600px;

        padding: 60px 20px 80px;
    }

    .history-arrow {
        width: 42px;
        height: 42px;
    }

    .history-arrow span {
        font-size: 18px;
    }

    .history-date {
        font-size: 30px;
    }

    .history-era {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .history-content h3 {
        font-size: 27px;
    }

    .history-highlight {
        align-items: flex-start;

        padding: 15px;
    }

    .highlight-icon {
        width: 32px;
        height: 32px;

        font-size: 13px;
    }
}



