/* GoldenHeritage — base.css : reset, tokens, typography */
[hidden]{display:none!important}

:root{
  --bg: #26313A;
  --surface: #31404B;
  --accent: #4C7A5A;
  --bg-light: #F5F4EF;
  --text-on-light: #191E22;
  --text-on-dark: #EDF0EE;
  --warning: #B4531F;
  --success: #2C6E5B;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg-light);
  color: var(--text-on-light);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 17px;
}

h1,h2,h3,h4{
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-on-light);
  margin: 0 0 .6em;
}

h1{ font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h2{ font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
h3{ font-size: 1.15rem; }

p{ margin: 0 0 1em; }

a{ color: var(--success); text-decoration-thickness: 2px; }
a:hover, a:focus{ color: var(--warning); }
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 3px solid var(--warning);
  outline-offset: 2px;
}

ul, ol{ padding-left: 1.4em; }

img{ max-width: 100%; display:block; }

table{ border-collapse: collapse; width: 100%; }
th, td{ padding: .6em .7em; border: 1px solid rgba(0,0,0,.15); text-align: left; }

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: .7em 1.2em;
  z-index: 1000;
  border-radius: 0 0 6px 0;
}
.skip-link:focus{ left: 0; }

.visually-hidden{
  position:absolute !important;
  width:1px;height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0; padding:0; margin:-1px;
}

/* Age gate overlay */
#age-gate-overlay{
  position: fixed; inset: 0;
  background: rgba(15,20,23,.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000;
  padding: 1.2rem;
}
#age-gate-box{
  background: var(--surface);
  color: var(--text-on-dark);
  max-width: 460px;
  width: 100%;
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(237,240,238,.15);
}
#age-gate-box h2{ color: var(--text-on-dark); }
#age-gate-box p{ color: var(--text-on-dark); }
.age-gate-actions{ display:flex; gap: .8rem; margin-top: 1.4rem; flex-wrap: wrap; }
.age-gate-actions button{
  flex: 1 1 120px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: .75em 1em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
#age-yes{ background: var(--accent); color: #fff; }
#age-no{ background: transparent; color: var(--text-on-dark); border: 1px solid rgba(237,240,238,.4) !important; }
#age-yes:hover, #age-yes:focus{ background: var(--success); }
#age-no:hover, #age-no:focus{ background: rgba(237,240,238,.1); }
