/* ---------- Tokens ---------- */
:root {
  --bg: #14161c;
  --bg-alt: #1b1e26;
  --panel-border: rgba(242, 239, 234, 0.12);
  --text: #f2efea;
  --text-muted: #b7bac4;
  --accent: #f0a339;
  --accent-strong: #ffb85c;
  --accent-secondary: #6f93b3;

  --font-head: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --max-width: 1080px;
  --max-width-narrow: 700px;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; color: var(--accent-strong); }

p { margin: 0 0 1.1em; color: var(--text-muted); }

a { color: var(--accent); }
a:hover { color: var(--accent-strong); }

ul { margin: 0; padding: 0; list-style: none; }
li { padding: 0.4em 0; border-bottom: 1px solid var(--panel-border); color: var(--text); }
li:last-child { border-bottom: none; }

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

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #14161c;
  padding: 0.6em 1em; z-index: 100;
}
.skip-link:focus { left: 1em; top: 1em; }

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-lede { color: var(--text-muted); margin-top: -0.6em; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 22, 28, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--panel-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  height: 42px;
  width: auto;
  border-radius: 4px;
}

.primary-nav {
  display: flex;
  gap: 1.8rem;
}

.primary-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.4em 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover {
  color: var(--accent-strong);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  background-color: var(--bg);
  background-image:
    linear-gradient(to bottom, rgba(20,22,28,0.35) 0%, rgba(20,22,28,0.55) 55%, var(--bg) 100%),
    url("images/hero-band.jpg");
  background-position: top center, top center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
  animation: rise 0.7s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-mark {
  display: inline-block;
  margin: 0 auto 2rem;
  padding: 10px;
  border-radius: 16px;
  background: rgba(20, 22, 28, 0.55);
  border: 1px solid var(--panel-border);
  box-shadow: 0 0 60px rgba(240, 163, 57, 0.12);
}

.hero-logo-landscape {
  display: block;
  width: min(460px, 82vw);
  height: auto;
  border-radius: 10px;
}

.hero h1 { margin-bottom: 0.5em; }
.hero-sub { font-size: 1.1rem; margin-bottom: 2em; }

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Section dividers ---------- */
.chevron-divider {
  display: flex;
  justify-content: center;
  padding: 0;
  margin-top: -1px;
  color: var(--accent);
  opacity: 0.55;
  background: inherit;
}
.chevron-divider svg { display: block; }

/* ---------- Scroll reveal ---------- */
/* Visible by default — JS adds .pre-reveal on init to set up the fade-in.
   If JS never runs (blocked, fails to load, disabled), content just
   stays visible instead of getting stuck hidden. */
.reveal, .reveal-item {
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.pre-reveal, .reveal-item.pre-reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-visible, .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-item:nth-child(2) { transition-delay: 0.08s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  padding: 0.85em 1.7em;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.button-primary {
  background: var(--accent);
  color: #191008;
}
.button-primary:hover { background: var(--accent-strong); color: #191008; }

.button-ghost {
  background: transparent;
  border-color: var(--panel-border);
  color: var(--text);
}
.button-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.service-group {
  background: linear-gradient(165deg, var(--bg) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 1.8rem 2rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-group:hover {
  border-color: rgba(240, 163, 57, 0.4);
  transform: translateY(-3px);
}

.services-note {
  margin-top: 2.5rem;
  font-size: 1.02rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid figure:hover img {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.gallery-grid figcaption {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.6em;
}

/* ---------- Reviews ---------- */
.reviews-block { text-align: center; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin: 2rem auto 0;
  max-width: 480px;
}

.contact-direct p a {
  font-size: 1.1rem;
  word-break: break-word;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-size: 0.95rem;
  margin: 0.8em 0 0.3em;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  background: var(--bg-alt);
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  padding: 0.7em 0.9em;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form button {
  margin-top: 1.4em;
  align-self: flex-start;
}

.form-note {
  margin-top: 0.8em;
  color: var(--accent-secondary);
  min-height: 1.4em;
}

/* Hidden from real visitors via off-screen positioning rather than
   display:none — some bots specifically skip display:none fields. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--panel-border);
  padding: 2.5rem 0;
  text-align: center;
  color: var(--text-muted);
}
.site-footer p { margin: 0.3em 0; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .gallery-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--panel-border);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .primary-nav.open { max-height: 320px; }
  .primary-nav a {
    padding: 1em 1.5rem;
    border-bottom: 1px solid var(--panel-border);
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-inner { animation: none; }
}
