:root {
  --cream: #F4EFE3;
  --cream-dim: #ECE4D2;
  --forest: #1E3B2C;
  --forest-deep: #142A1E;
  --gold: #C79A3C;
  --gold-light: #DFB65E;
  --charcoal: #26251F;
  --line: rgba(30, 59, 44, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

.stripes {
  background-image: repeating-linear-gradient(
    100deg,
    rgba(255,255,255,0.05) 0px,
    rgba(255,255,255,0.05) 34px,
    rgba(0,0,0,0.035) 34px,
    rgba(0,0,0,0.035) 68px
  );
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: 42px; object-fit: contain; }
.brand-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--forest-deep);
  line-height: 1.15;
}
.brand-text span { color: var(--gold); display: block; font-size: 0.6em; font-weight: 500; letter-spacing: 0.06em; font-family: 'Work Sans', sans-serif; }
.nav-links { display: flex; gap: 26px; font-size: 0.9rem; font-weight: 500; }
.nav-links a { color: var(--forest-deep); opacity: 0.75; transition: opacity 0.15s ease; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta {
  background: var(--gold);
  color: var(--forest-deep) !important;
  padding: 10px 16px;
  border-radius: 3px;
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-light); }

/* ---------- Page header banner (for inner pages) ---------- */
.page-hero {
  background: var(--forest);
  color: var(--cream);
  padding: 64px 0 56px;
}
.page-hero .eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 14px;
}
.page-hero h1 { color: var(--cream); font-size: clamp(2rem, 4vw, 2.8rem); max-width: 640px; }
.page-hero p { color: rgba(244,239,227,0.8); max-width: 560px; margin-top: 16px; font-size: 1.02rem; }

/* ---------- Hero (home) ---------- */
.hero { background: var(--forest); color: var(--cream); position: relative; overflow: hidden; }
.hero-inner { max-width: 1100px; margin: 0 auto; padding: 90px 32px 110px; position: relative; z-index: 2; }
.eyebrow { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; }
.hero-brand { display: flex; align-items: center; gap: 26px; margin-bottom: 32px; }
.hero-logo { height: 110px; width: 110px; object-fit: contain; flex-shrink: 0; background: var(--cream); border-radius: 8px; padding: 10px; }
.hero-brand h1 { color: var(--cream); font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; margin: 6px 0 0; max-width: 620px; }
.hero-brand h1 .llc { color: var(--gold-light); font-size: 0.55em; font-weight: 500; font-family: 'Work Sans', sans-serif; letter-spacing: 0.08em; }
.service-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.service-pills span { border: 1px solid rgba(244,239,227,0.35); color: var(--cream); font-size: 0.85rem; font-weight: 500; padding: 7px 16px; border-radius: 999px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-gold, .btn-outline, .btn-dark, .btn-line {
  display: inline-block; padding: 15px 26px; border-radius: 3px; font-weight: 600; font-size: 0.94rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-gold { background: var(--gold); color: var(--forest-deep); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { border: 1px solid rgba(244,239,227,0.4); color: var(--cream); }
.btn-outline:hover { border-color: var(--cream); }
.hero-social { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.88rem; }
.hero-social a { color: rgba(244,239,227,0.75); text-decoration: underline; text-underline-offset: 3px; }
.hero-social a:hover { color: var(--cream); }
.social-divider { color: rgba(244,239,227,0.35); }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--cream-dim); }
.trust-inner { max-width: 1100px; margin: 0 auto; padding: 20px 32px; display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; font-size: 0.88rem; font-weight: 500; color: var(--forest-deep); opacity: 0.85; }
.trust-inner div { display: flex; align-items: center; gap: 8px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ---------- Section shared ---------- */
section { padding: 88px 0; }
.section-head { max-width: 560px; margin-bottom: 52px; }
.section-eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--cream); padding: 38px 30px; }
.service-card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.service-card p { font-size: 0.94rem; color: rgba(38,37,31,0.72); }

/* ---------- About ---------- */
.about { background: var(--forest-deep); color: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about .section-head h2 { color: var(--cream); }
.about-body p { font-size: 1.02rem; color: rgba(244,239,227,0.8); margin-bottom: 20px; }
.about-mark { border-left: 2px solid var(--gold); padding-left: 24px; }
.about-mark .name { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--gold-light); margin-bottom: 6px; }
.about-mark p { font-size: 0.92rem; color: rgba(244,239,227,0.65); }

/* ---------- Contact band ---------- */
.contact-band { background: var(--gold); }
.contact-inner { max-width: 1100px; margin: 0 auto; padding: 76px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 32px; }
.contact-inner h2 { color: var(--forest-deep); font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 480px; }
.contact-sub { color: rgba(20,42,30,0.72); font-size: 0.94rem; font-weight: 500; margin-top: 10px; }
.contact-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-dark { background: var(--forest-deep); color: var(--cream); }
.btn-dark:hover { background: var(--forest); }
.btn-line { border: 1px solid var(--forest-deep); color: var(--forest-deep); }

/* ---------- Footer ---------- */
footer { background: var(--forest-deep); color: rgba(244,239,227,0.55); padding: 30px 0; font-size: 0.85rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Gallery page ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-tile {
  aspect-ratio: 4 / 3;
  background: var(--cream-dim);
  border: 1.5px dashed var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: rgba(30,59,44,0.55);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.gallery-note { background: var(--cream-dim); border: 1px solid var(--line); border-radius: 6px; padding: 24px 28px; margin-bottom: 48px; font-size: 0.92rem; }
.gallery-note code { background: rgba(30,59,44,0.08); padding: 2px 6px; border-radius: 3px; font-size: 0.86em; }

/* ---------- Game page ---------- */
.game-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
#gameCanvas { background: #3d6b3f; border: 3px solid var(--forest-deep); border-radius: 6px; max-width: 100%; touch-action: none; }
.game-hud { display: flex; gap: 24px; font-weight: 600; color: var(--forest-deep); font-size: 0.95rem; }
.game-controls { font-size: 0.88rem; color: rgba(38,37,31,0.65); text-align: center; }
.game-btn { background: var(--forest); color: var(--cream); padding: 12px 26px; border-radius: 3px; font-weight: 600; border: none; cursor: pointer; font-family: 'Work Sans', sans-serif; font-size: 0.94rem; }
.game-btn:hover { background: var(--forest-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 780px) {
  .nav-links { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner, .page-hero .wrap { padding-left: 24px; padding-right: 24px; }
  section { padding: 60px 0; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-brand { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
