
: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);
}





.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;
}

.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: 20%;
  z-index: 1;      
  width: 100%;
  height: 100%;
  object-fit: cover;
   -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 100%, 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-flag-stripe {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: 9px;
  height: 100%;
  z-index: 1000;
}

.hero-flag-stripe span {
  width: 50%;
}

.stripe-blue { background: var(--flag-blue); }
.stripe-red { background: var(--flag-red); }

.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;
}

.sun-disc {
  position: relative;
  display: grid;
  place-content: center;
  width: min(34vw, 480px);
  aspect-ratio: 1;
  border: 1px solid rgba(231, 184, 64, 0.55);
  border-radius: 50%;
  color: var(--gold);
  text-align: center;
  box-shadow:
    0 0 0 24px rgba(231, 184, 64, 0.025),
    0 0 0 25px rgba(231, 184, 64, 0.1),
    0 0 0 63px rgba(231, 184, 64, 0.02),
    0 0 0 64px rgba(231, 184, 64, 0.06);
}

.sun-disc::before,
.sun-disc::after {
  position: absolute;
  top: 50%;
  left: -20%;
  width: 140%;
  height: 1px;
  background: rgba(231, 184, 64, 0.22);
  content: "";
}

.sun-disc::after {
  transform: rotate(90deg);
}

.sun-number {
  font-family: var(--serif);
  font-size: clamp(100px, 12vw, 180px);
  line-height: 0.8;
}

.sun-caption {
  margin-top: 28px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.archive-label {
  position: absolute;
  top: 20px;
  right: 0;
  padding: 9px 12px;
  border: 1px solid rgba(255, 250, 240, 0.3);
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  transform: rotate(4deg);
}

.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;
}

.scroll-note {
  position: absolute;
  bottom: 30px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 250, 240, 0.4);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.section {
  padding: 120px clamp(28px, 8vw, 130px);
}

.intro {
  display: grid;
  grid-template-columns: 80px 1.1fr 0.8fr;
  gap: 48px;
  align-items: end;
  background: var(--paper-light);
}

.section-number {
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.section-heading h2,
.section-topline h2 {
  color: var(--brown-deep);
  font-size: clamp(48px, 6vw, 88px);
}

.section-description {
  padding: 0 0 10px 45px;
  border-left: 1px solid var(--line);
}

.section-description p {
  margin: 0;
  color: rgba(36, 23, 17, 0.65);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.75;
}

.stories {
  background: var(--paper);
}

.section-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 55px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  min-height: 450px;
}

.story-card {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  padding: 28px;
  overflow: hidden;
  color: var(--white);
  background: var(--brown);
  transition: transform .25s ease, box-shadow 250ms ease;
 
}

.story-card:hover {
  z-index: 2;
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(52, 29, 20, 0.22);
}

.story-card::before {
  position: absolute;
  right: -60px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.025), 0 0 0 31px rgba(255, 255, 255, 0.08);
}

.story-card-blue { background: var(--flag-blue); }
.story-card-red { background: var(--flag-red); }

.card-index {
  align-self: flex-end;
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  opacity: 0.7;
}

.card-tag {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-card h3 {
  margin: 0 0 15px;
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 44px);
  font-weight: 600;
}

.story-card div > p:last-child {
  max-width: 350px;
  margin: 0;
  color: rgba(255, 250, 240, 0.68);
  line-height: 1.7;
}

.card-arrow {
  position: absolute;
  right: 25px;
  bottom: 25px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.word-section {
  background: var(--paper-light);
}

.word-panel {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  min-height: 480px;
  padding: 65px;
  overflow: hidden;
  color: var(--white);
  background: var(--brown-deep);
}

.imgsakapwa{
  display: absolute;

}

.word-panel::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(var(--flag-blue) 0 50%, var(--flag-red) 50%);
  content: "";
}

.word-stamp {
  align-self: start;
  width: 80px;
  padding: 15px 8px;
  border: 1px solid rgba(231, 184, 64, 0.65);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  transform: rotate(-4deg);
}

.eyebrow.light {
  color: var(--gold);
}

.word-main {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.word-main h2 {
  color: var(--white);
  font-size: clamp(62px, 9vw, 128px);
}

.pronunciation {
  margin: 20px 0;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
}

.word-meaning {
  max-width: 520px;
  color: rgba(255, 250, 240, 0.68);
  font-size: 17px;
  line-height: 1.7;
}

.word-mark {
  position: absolute;
  right: -25px;
  bottom: -95px;
  color: rgba(231, 184, 64, 0.055);
  font-family: var(--serif);
  font-size: 480px;
  line-height: 1;
}

.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;
  }

  .archive-label,
  .hero-quote {
    display: none;
  }

  .intro {
    grid-template-columns: 50px 1fr;
  }

  .section-description {
    grid-column: 2;
    padding-left: 0;
    border-left: 0;
  }

  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-card-large {
    grid-column: 1 / -1;
  }


@media (max-width: 650px) {
  :root { --header-height: 74px; }

  .site-header {
    grid-template-columns: 66px 1fr;
  }

  .brand {
    font-size: 10px;
  }

  .brand-sun {
    width: 30px;
    height: 30px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding: 135px 24px 80px;
  }

  .hero h1 {
    font-size: clamp(58px, 20vw, 82px);
  }

  .primary-button {
    min-width: 100%;
  }

  .hero-art {
    right: -210px;
  }

  .scroll-note {
    display: none;
  }

  .section {
    padding: 85px 24px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .intro .section-number,
  .section-description {
    grid-column: 1;
  }

  .section-heading h2,
  .section-topline h2 {
    font-size: 48px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .story-card-large {
    grid-column: auto;
  }

  .story-card {
    min-height: 360px;
  }

  .word-panel {
    grid-template-columns: 1fr;
    gap: 45px;
    min-height: 520px;
    padding: 38px 28px;
  }

  .word-main h2 {
    font-size: 64px;
  }

  .word-mark {
    font-size: 330px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 65px 24px 25px;
  }

  .footer-links {
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
}

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