:root {
  --bg: #000;
  --panel: rgba(0, 0, 0, 0.78);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --gold: #b4a272;
  --gold-soft: rgba(180, 162, 114, 0.25);
  --border: rgba(180, 162, 114);

  /* Edge-to-edge layout; keep only minimal internal gutters */
  --gutter: 24px;
  --header-h: 56px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Ensure anchor jumps don't hide content under the sticky header */
[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  /* Required for Bootstrap 4 ScrollSpy to correctly calculate section offsets */
  position: relative;
  overflow-x: hidden;
}

/* Fixed background image + readability overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../images/back_new.jpeg") center / cover no-repeat;
  transform: scale(1.03);
  z-index: -2;
}

.container {
  width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  margin: 0 auto;
}

@media (max-width: 420px) {
  :root {
    --gutter: 16px;
  }
}

.section {
  padding-top: 3rem;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

.section-title {
  margin: 0 0 1.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

/* FEATURES TABS */
.tabs {
  /* Match index1: dark section block, minimal chrome */
  background: rgba(0, 0, 0, 0.65);

  /* Make the translucent strip span edge-to-edge */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* No padding on the strip itself; inner elements get gutters */
  padding: 0;
}

.tabs__list,
.tabs__panels {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.tabs__list {
  padding-top: 1.25rem;
}

.tabs__panels {
  padding-bottom: 1.25rem;
}

.tabs__list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0 auto 1.5rem;
}

.tabs__tab {
  appearance: none;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.75rem 0.75rem;
  cursor: pointer;
  position: relative;
}

.tabs__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  width: 0;
  margin: 0 auto;
  background: var(--gold);
  transition: width 220ms ease;
  opacity: 0.9;
}

.tabs__tab:hover::after,
.tabs__tab:focus-visible::after {
  width: 100%;
}

.tabs__tab.is-active {
  color: #fff;
}

.tabs__tab.is-active::after {
  width: 100%;
}

.tabs__panels {
  margin: 0 auto;
}

.tabs__panel {
  /* No panel background (strip is enough). Keep spacing only. */
  background: transparent;
  padding: 1rem 0 0;
}

.tabs__layout {
  display: grid;
  gap: 1.5rem;
}

.tabs__col {
  color: rgba(255, 255, 255, 0.82);
}

/* Feature icon cards (replicates the original index.html look) */
.tabs__features {
  display: grid;
  gap: 1.6rem;
}

.fitem {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
}

/* Left column: text then icon (mirrored) */
.tabs__col--left .fitem {
  grid-template-columns: 1fr 56px;
}

.fitem__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(180, 162, 114, 0.65);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.fitem__icon i {
  font-size: 1.2rem;
}

.fitem__title {
  margin: 0;
  font-weight: 300;
  color: var(--gold);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.fitem__text {
  margin: 0.6rem 0 0;
  color: #fff;
  font-weight: 300;
  line-height: 1.9;
  opacity: 0.95;
}

.tabs__col--left .fitem__body {
  text-align: right;
}

.tabs__media {
  display: grid;
  place-items: center;
}

.tabs__media img {
  width: min(340px, 100%); /* ~75% of previous size */
  height: auto;
  display: block;
}

@media (min-width: 992px) {
  .tabs__layout {
    grid-template-columns: 1fr 0.7fr 1fr;
    align-items: normal;
    gap: 0.5rem;
  }

  /* “Stick” text closer to the phone image and center it vertically */
  .tabs__col--left {
    justify-self: end;
    padding-right: 0.5rem;
    text-align: right;
  }

  .tabs__col--right {
    justify-self: start;
    padding-left: 0.5rem;
    text-align: left;
  }

  .tabs__features {
    gap: 7rem;
    margin-top: 4em;
  }
}

@media (max-width: 991.98px) {
  /* On mobile, make the card layout consistent (icon left, text right) */
  .tabs__col--left .fitem {
    grid-template-columns: 56px 1fr;
  }
  .tabs__col--left .fitem__body {
    text-align: left;
  }
}

/* SCREENSHOTS (Swiper + Magnific Popup) */
.slider-2 {
  padding: 1.25rem 0 2rem;

  /* Edge-to-edge translucent backdrop behind the gallery */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.slider-2 .slider-container {
  position: relative;
}

.image-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.image-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  background: transparent;
  /* Smaller like original */
  max-width: 240px;
}

.shot-caption {
  margin-top: 0.65rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0.9;
  color: var(--gold);
  max-width: 260px;
}

.swiper-button-next,
.swiper-button-prev {
  /* Swiper 4 arrows are SVG background-images (default blue). Force white. */
  color: #ffffff !important;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
}

.swiper-button-next,
.swiper-button-prev {
  /* Remove default blue SVG background and use Swiper's white variant class */
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  color: #ffffff !important;
}

/* Push arrows to screen edges */
.slider-2 .swiper-button-prev {
  left: 0;
}

.slider-2 .swiper-button-next {
  right: 0;
}

.slider-2 .swiper-button-prev,
.slider-2 .swiper-button-next {
  width: 48px;
  height: 48px;
}

/* Magnific Popup (full screenshot view) arrows: restyle to match gallery */
.mfp-arrow {
  opacity: 0.9;
  width: 48px;
  height: 48px;
  /* Make arrows behave like screen-edge controls (reliable centering) */
  position: fixed !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 24px;
  z-index: 1046; /* above mfp-wrap/content; keep clickable */
  pointer-events: auto;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
}

/* Remove the old triangle arrow shapes */
.mfp-arrow:before,
.mfp-arrow:after {
  display: none !important;
}

.mfp-arrow-left {
  /* Flush to viewport edge (match Swiper arrows in gallery mode) */
  left: 0 !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}

.mfp-arrow-right {
  /* Flush to viewport edge (match Swiper arrows in gallery mode) */
  right: 0 !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}

/* Magnific Popup caption under image */
.mfp-title {
  color: var(--gold);
  text-align: center !important;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding-right: 0 !important; /* remove default counter-spacing that shifts centering */
  margin: 0 auto !important;
  width: 100% !important;
}

/* Keep the whole bottom bar aligned and readable */
.mfp-bottom-bar {
  margin-top: 10px !important;
  text-align: center;
}

/* Keep the slide counter from affecting the caption centering */
.mfp-counter {
  right: 0 !important;
}

/* HERO */
.hero {
  padding: 2.5rem 0 3.5rem;
}

.hero__grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.hero__copy {
  max-width: 42rem;
}

/* Add more left breathing room for hero copy on desktop while keeping phones on the right */
@media (min-width: 992px) {
  .hero__copy {
    padding-left: calc(var(--gutter) * 5);
  }
}

.hero__title {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.05;
  font-weight: 300;
  color: var(--gold);
}

.hero__subtitle {
  margin: 0.5rem 0 0;
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__lead {
  font-size: 1.2em;
  margin: 2.3rem 0 0;
  color: var(--text);
  opacity: 1;
  font-weight: 300;
  line-height: 2.1;
  max-width: 36rem;
}

.hero__lead1 {
  font-size: 1.4em;
  margin: 2.6rem 0 0;
  color: var(--gold);
  opacity: 1;
  font-weight: 300;
  line-height: 2;
  max-width: 36rem;
}

.hero__cta {
  margin-top: 1.35rem;
  display: flex;
  justify-content: center;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  padding: 0.25rem;
  text-decoration: none;
  transition: transform 160ms ease;
}

.play-badge:hover {
  transform: scale(1.02);
}

.play-badge img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* YouTube embed (standard iframe; rectangular; loads immediately; no autoplay) */
.video-embed {
  margin-top: 1.25rem;
  border: 1px solid rgba(180, 162, 114, 0.35);
  border-radius: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
}

.video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* Stacked screenshots */
.hero__visual {
  display: grid;
  place-items: center;
  /* Prevent any visual overflow from intruding into the copy column */
  overflow: hidden;
}

.stacked {
  position: relative;
  width: min(520px, 100%);
  max-width: 520px;
  /* Make the container tall enough for phone aspect ratio (prevents overlap with content above) */
  aspect-ratio: 1 / 1.35;
}

.stacked img {
  position: absolute;
  top: 52%;
  left: 50%;
  transform-origin: center;
  max-width: 100%;
  height: auto;
  user-select: none;
}

.stacked__center {
  width: 64%;
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: 3;
}

.stacked__left {
  width: 58%;
  transform: translate(-106%, -45%) rotate(-25deg);
  z-index: 2;
  opacity: 1;
}

.stacked__right {
  width: 58%;
  transform: translate(6%, -45%) rotate(25deg);
  z-index: 1;
  opacity: 1;
}

/* Scale the phone stack down earlier on medium widths */
@media (max-width: 1920px) {
  .stacked {
    max-width: 560px;
  }
}

@media (max-width: 1720px) {
  .stacked {
    max-width: 360px;
  }
}

@media (max-width: 1240px) {
  .stacked {
    max-width: 260px;
  }
}

@media (max-width: 992px) {
  .stacked {
    max-width: 400px;
  }
  .hero__visual {
    /* Extra breathing room between video and phones when stacked below */
    padding-top: 1rem;
    overflow: visible; /* allow shadows without clipping on mobile */
  }
}

@media (max-width: 600px) {
  .stacked {
    max-width: 300px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #000000;
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  user-select: none;
}

.brand-name {
  margin-left: 10px;
  font-size: 1.095em;
  font-weight: 300;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--gold);
  /*text-transform: uppercase;*/
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: none;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--gold);
  text-decoration: none;
  opacity: 0.9;
  font-weight: 300;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
}

/* Keep visited links consistent (avoid fighting with scrollspy highlight) */
.nav-links a:visited {
  color: var(--gold);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: #fff;
  opacity: 1;
  text-shadow: 0 0 14px rgba(180, 162, 114, 0.18);
}

/* Bootstrap ScrollSpy toggles `.active` on .nav-link; keep visual parity */
.nav-links a.active {
  color: #fff;
  opacity: 1;
  text-shadow: 0 0 14px rgba(180, 162, 114, 0.18);
}

.mobile-menu__links a[aria-current="page"] {
  color: #fff;
  background: transparent;
  text-shadow: 0 0 14px rgba(180, 162, 114, 0.18);
}

.mobile-menu__links a.active {
  color: #fff;
  background: transparent;
  text-shadow: 0 0 14px rgba(180, 162, 114, 0.18);
}

.nav-toggle {
  background: transparent;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 50;
  display: grid;
  grid-template-rows: var(--header-h) 1fr;
  transform: translateX(-100%);
  transition: transform 200ms ease;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu__close {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-menu__links {
  display: grid;
  align-content: start;
  padding: 1rem;
}

.mobile-menu__links a {
  padding: 0.5rem;
  /*border-radius: 14px;*/
  text-decoration: none;
  color: var(--gold);
  font-weight: 300;
  /*letter-spacing: 0.16em;*/
  opacity: 1;
}

/* Keep visited links consistent, but don't override the current/active item */
.mobile-menu__links a:visited:not(.active):not([aria-current="page"]) {
  color: var(--gold);
}

.mobile-menu__links a:hover,
.mobile-menu__links a:focus-visible {
  background: transparent;
  color: #fff;
  opacity: 1;
  text-shadow: 0 0 14px rgba(180, 162, 114, 0.18);
}

.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;
}

.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--gold);
  background: rgba(0, 0, 0);
}

/* Redesigned footer supports legacy content (links + social + email reveal) */
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr auto;
    gap: 2rem;
  }
}

.site-footer .footer-col {
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 300;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .footer-social {
  width: 16rem;
  display: grid;
  gap: 0.75rem;
  align-content: start;
  justify-items: start;
}

.site-footer .footer-social__icons {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-start;
}

.site-footer .footer-social__icon {
  width: 2.4em;
  height: 2.4em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  display: grid;
  place-items: center;
  text-decoration: none;
  line-height: 1;
}

.site-footer .footer-social__icon i {
  color: var(--gold);
  font-size: 1.05rem;
  line-height: 1;
}

.site-footer .footer-social__icon:hover {
  background: rgba(255, 255, 255, 0.26);
}

.site-footer .footer-email {
  justify-items: start;
}

.footer-email__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-weight: 300;
  padding: 0;
  cursor: pointer;
}

.footer-email__btn:hover,
.footer-email__btn:focus-visible {
  color: #fff;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(180, 162, 114, 0.25);
  font: 300 0.75rem "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(180, 162, 114, 0.85);
}

/* legacy footer separators no longer used */
.site-footer .sep {
  display: none;
}

@media (min-width: 900px) {
  .nav-links {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}

@media (min-width: 992px) {
  .hero {
    padding: 4rem 0 4.5rem;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.75rem;
  }
}