/* ZelMap Gruvbox Theme and Layout */
:root {
  --bg: #282828; /* base background */
  --text: #ebdbb2; /* primary text */
  --muted: #a89984; /* muted text */
  --orange: #fe8019;
  --green: #b8bb26;
  --blue: #83a598;
  --red: #fb4934;
  --purple: #d3869b;
  --yellow: #fabd2f;
  --left-1: #1d2021; /* pairs for contrast rotation */
  --left-2: #32302f;
  --left-3: #282828;
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Fira Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Two-Panel Layout */
.content {
  width: 50%;
  position: relative;
  z-index: 2;
}
.scroll-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vh 6vw;
}

/* Sticky Quote Panel */
.sticky-quote {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 4vh 6vw 8vh;
  border-left: 1px solid rgba(0, 0, 0, 0.15);
  z-index: 1;
  contain: layout paint;
  backface-visibility: hidden;
  transform: translateZ(0);
}
/* Global top-right brand (all pages) */
.global-brand {
  position: fixed;
  top: 10px;
  right: 14px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 24px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  pointer-events: none;
  padding: 8px 14px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.global-brand .brand-accent { color: var(--orange); font-weight: 800; }
.global-brand > span { color: #ffffff; }
.brand-logo { height: 60px; width: auto; display: inline-block; background: transparent; }

/* Make 'Rocheston' orange on the homepage (Section 1 active) */
.section-s1 .global-brand > span { color: var(--orange); }
.brand-tag {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  pointer-events: none;
}
.brand-name { color: var(--orange); font-weight: 800; }
/* Vertically center quote on non-hero sections */
body:not(.section-s1) .sticky-quote { justify-content: center; padding-top: 8vh; }
.right-splash { display: none; width: 100%; max-width: 700px; margin: 0 auto 12px; text-align: center; }
.section-s1 .right-splash { display: block; }
/* (icons above titles removed) */
.right-media { display: none; width: 100%; max-width: 700px; margin: 8px auto 0; text-align: center; }
.has-right-image .right-media { display: block; }
.has-right-image .quote-box { display: none; }
.right-image { display: inline-block; max-width: 520px; width: 100%; height: auto; border-radius: 8px; }
/* Hide all right content when left-only image sections are active */
.has-left-image .right-splash, .has-left-image .right-media, .has-left-image .quote-box { display: none !important; }
.splash-img {
  display: inline-block;
  max-width: 600px;
  width: 100%;
  height: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.quote-box { max-width: 700px; margin-top: 8px; text-align: center; }
.section-s1 .quote-box { text-align: left; }
.quote-text {
  font-size: 34px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  transition: opacity 180ms ease;
  will-change: opacity;
  position: relative;
}
.quote-text::before,
.quote-text::after {
  color: var(--orange);
  font-weight: 800;
  font-size: 1em; /* match main quote size */
  line-height: inherit; /* align within the same line */
  display: inline;
  vertical-align: baseline; /* same baseline as text */
}
.quote-text::before { content: '❝'; margin-right: 6px; }
.quote-text::after { content: '❞'; margin-left: 6px; }
}
.quote-author {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  transition: opacity 180ms ease;
  will-change: opacity;
}
/* Center quote text except on the hero */
.quote-box { text-align: center; }
.section-s1 .quote-box { text-align: left; }

/* Typography */
.section-title {
  font-size: 47px;
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.s1 .section-title .word-rocheston { color: var(--orange); }
.s1 .section-title .word-zelmap { color: var(--red); }
.s1 .section-title,
.s3 .section-title,
.s5 .section-title,
.s7 .section-title,
.s9 .section-title,
.s11 .section-title,
.s13 .section-title,
.s15 .section-title,
.s17 .section-title,
.s19 .section-title { color: var(--red); }
.s2 .section-title,
.s4 .section-title,
.s6 .section-title,
.s8 .section-title,
.s10 .section-title,
.s12 .section-title,
.s14 .section-title,
.s16 .section-title,
.s18 .section-title,
.s20 .section-title { color: var(--orange); }
.section-desc {
  font-size: 24px;
  font-weight: 500;
  margin: 12px 0;
  max-width: 60ch;
  color: var(--text);
}
.hl-red { background: var(--red); color: #ffffff; padding: 0 6px; border-radius: 4px; }
.mobile-quote {
  display: none;
  margin-top: 18px;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

/* Left-side section screenshots */
.section-media.left { margin-top: 18px; }
.section-image { display: block; max-width: 720px; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }

/* Per-section left/right contrast rotation */
.s1 { background: var(--left-1); }
.s2 { background: var(--left-2); }
.s3 { background: var(--left-3); }
.s4 { background: var(--left-1); }
.s5 { background: var(--left-2); }
.s6 { background: var(--left-3); }
.s7 { background: var(--left-1); }
.s8 { background: var(--left-2); }
.s9 { background: var(--left-3); }
.s10 { background: var(--left-1); }
.s11 { background: var(--left-2); }
.s12 { background: var(--left-3); }
.s13 { background: var(--left-1); }
.s14 { background: var(--left-2); }
.s15 { background: var(--left-3); }
.s16 { background: var(--left-1); }
.s17 { background: var(--left-2); }
.s18 { background: var(--left-3); }
.s19 { background: var(--left-1); }
.s20 { background: var(--left-2); }
.s21 { background: var(--left-3); }
.s22 { background: var(--left-1); }
.s23 { background: var(--left-2); }
.s24 { background: var(--left-3); }
.s25 { background: var(--left-1); }
.s26 { background: var(--left-2); }
.s27 { background: var(--left-3); }
.s28 { background: var(--left-1); }
.s29 { background: var(--left-2); }
.s30 { background: var(--left-3); }
.s31 { background: var(--left-1); }
.s32 { background: var(--left-2); }

/* Right panel background per active section */
.section-s1 .sticky-quote { background: var(--left-2); }
.section-s2 .sticky-quote { background: var(--bg); }
.section-s3 .sticky-quote { background: var(--left-1); }
.section-s4 .sticky-quote { background: var(--bg); }
.section-s5 .sticky-quote { background: var(--left-1); }
.section-s6 .sticky-quote { background: var(--left-2); }
.section-s7 .sticky-quote { background: var(--left-2); }
.section-s8 .sticky-quote { background: var(--bg); }
.section-s9 .sticky-quote { background: var(--left-1); }
.section-s10 .sticky-quote { background: var(--bg); }
.section-s11 .sticky-quote { background: var(--left-1); }
.section-s12 .sticky-quote { background: var(--left-2); }
.section-s13 .sticky-quote { background: var(--left-2); }
.section-s14 .sticky-quote { background: var(--bg); }
.section-s15 .sticky-quote { background: var(--left-1); }
.section-s16 .sticky-quote { background: var(--bg); }
.section-s17 .sticky-quote { background: var(--left-1); }
.section-s18 .sticky-quote { background: var(--left-2); }
.section-s19 .sticky-quote { background: var(--left-2); }
.section-s20 .sticky-quote { background: var(--bg); }
.section-s21 .sticky-quote { background: var(--left-1); }
.section-s22 .sticky-quote { background: var(--bg); }
.section-s23 .sticky-quote { background: var(--bg); }
.section-s24 .sticky-quote { background: var(--left-1); }
.section-s25 .sticky-quote { background: var(--bg); }
.section-s26 .sticky-quote { background: var(--left-2); }
.section-s27 .sticky-quote { background: var(--bg); }
.section-s28 .sticky-quote { background: var(--left-3); }
.section-s29 .sticky-quote { background: var(--bg); }
.section-s30 .sticky-quote { background: var(--left-1); }
.section-s31 .sticky-quote { background: var(--bg); }
.section-s32 .sticky-quote { background: var(--left-2); }

/* FAQ */
.faq {
  width: 100%;
  background: #1d2021;
  padding: 8vh 6vw 14vh;
}
.faq-inner { max-width: 1100px; margin: 0 auto; }
.faq-title { font-size: 36px; font-weight: 800; margin: 0 0 24px; }
.faq-item { border-top: 1px solid rgba(235, 219, 178, 0.08); }
.faq-item:last-child { border-bottom: 1px solid rgba(235, 219, 178, 0.08); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 12px;
  background: transparent;
  color: var(--text);
  border: 0;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--muted);
  padding: 0 12px 0 12px;
}
.faq-item.open .faq-a { padding: 0 12px 16px 12px; }

/* Hide right panel during FAQ */
.in-faq .sticky-quote { display: none; }
.in-gallery .sticky-quote { display: none; }

/* Go-to-top button */
#toTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--orange);
  color: #1d2021;
  border: none;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 10;
}
#toTop:focus { outline: 2px solid rgba(255,255,255,0.25); outline-offset: 2px; }

/* Launch CTA button */
.launch-cta {
  display: inline-block;
  font-size: 24px;
  font-weight: 800;
  color: #1d2021;
  background: var(--orange);
  padding: 18px 28px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
}
.launch-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,0.45); }
.launch-cta:active { transform: translateY(0); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }

/* Footer */
.site-footer {
  width: 100%;
  background: #1d2021;
  border-top: 1px solid rgba(235, 219, 178, 0.08);
  color: var(--muted);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 6vw;
  font-size: 14px;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .content { width: 100%; }
  .sticky-quote { display: none; }
  .scroll-section { padding: 8vh 6vw; }
  .section-title { font-size: 34px; }
  .section-desc { font-size: 20px; }
  .mobile-quote { display: block; font-size: 20px; }
  #toTop { width: 48px; height: 48px; font-size: 18px; bottom: 16px; right: 16px; }
}

/* Gallery grid */
.gallery { width: 100%; background: #1d2021; padding: 8vh 6vw 12vh; }
.gallery-inner { max-width: 1200px; margin: 0 auto; }
.gallery-title { font-size: 36px; font-weight: 800; margin: 0 0 24px; color: var(--text); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; row-gap: 48px; padding: 24px; }
.gallery-grid img { width: 100%; height: auto; display: block; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,0.38); padding: 12px; background: #282828; border: 4px solid #3a3a3a; }
@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* Center the Launch section heading, description, and button */
.s21 .section-title { text-align: center; }
.s21 .section-desc { text-align: center; }
.s21 p { text-align: center; }
