/* site_web/assets/css/base.css */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 5rem; }
body {
  margin: 0;
  background: var(--bg-pure);
  color: var(--fg);
  font-family: var(--font-body, var(--font-display));
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container { max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section { padding-block: 5rem; }
@media (min-width: 768px) { .section { padding-block: 8rem; } }
.section-sm { padding-block: 3rem; }

.text-70 { color: rgba(255,255,255,0.7); }
.text-60 { color: rgba(255,255,255,0.6); }
.text-50 { color: rgba(255,255,255,0.5); }
.text-40 { color: rgba(255,255,255,0.4); }
.text-30 { color: rgba(255,255,255,0.3); }
.text-gold { color: var(--gold); }

.eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: var(--amber); }
.btn-outline {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.2); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(2, 1fr); }
.grid-6 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-6 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
}

/* Scroll-reveal contract: JS (main.js) toggles .is-visible on intersection */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, filter 0.6s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.9); }
[data-reveal="blur"] { filter: blur(8px); transform: none; }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.icon { width: 1em; height: 1em; }

/* Crosshair-O trick: split a label at each "O" and wrap it in this span
   (used by home.css/AboutSection and reused by later pages). */
.crosshair-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.8em;
  height: 0.8em;
  position: relative;
  top: -0.03em;
  margin: 0 0.02em;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
