:root {
  --bg: #05070b;
  --surface: rgba(9, 13, 20, 0.78);
  --surface-strong: rgba(10, 15, 24, 0.92);
  --text: #f6f8fb;
  --muted: #b9c3d3;
  --line: rgba(255,255,255,0.1);
  --accent: #7bdcff;
  --accent-2: #9f8bff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --radius-sm: 14px;
  --content: 1200px;
  --nav-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(123, 220, 255, 0.12), transparent 35%),
    linear-gradient(180deg, #030507 0%, #081018 48%, #030507 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.video-shell {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.video-shell video,
.video-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1) saturate(1.1);
}

.video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,5,7,.45) 0%, rgba(3,5,7,.6) 45%, rgba(3,5,7,.85) 100%);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-fallback .hero-video {
  display: none;
}

.video-fallback .video-shell {
  background: url("images/hero-poster.webp") center / cover no-repeat;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.35s ease, opacity 0.35s ease, background-color 0.35s ease;
  transform: translateY(0);
  opacity: 1;
}

.site-header.is-hidden {
  transform: translateY(-100%);
  opacity: 0.95;
}

.navbar {
  max-width: var(--content);
  min-height: var(--nav-height);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg, rgba(123,220,255,.2), rgba(159,139,255,.2));
  box-shadow: 0 0 24px rgba(123,220,255,.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.nav-link,
.button,
.button-secondary {
  border: 1px solid rgba(255,255,255,0.12);
  transition: .25s ease;
  white-space: nowrap;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
  border-color: rgba(123,220,255,0.45);
  box-shadow: 0 0 0 1px rgba(123,220,255,.2) inset, 0 0 24px rgba(123,220,255,.15);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 10px 12px;
}

.hero {
  min-height: calc(100vh - var(--nav-height));
  display: grid;
  align-items: center;
  padding: 72px 20px 56px;
}

.hero-inner,
.section,
.footer-inner,
.page-hero,
.contact-grid {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 34px;
}

.hero-copy,
.glass-card,
.stat,
.info-card,
.partner-card,
.gallery-card,
.pricing-card,
.form-card,
.about-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-copy,
.glass-card,
.about-card,
.form-card {
  border-radius: calc(var(--radius) + 4px);
}

.hero-copy {
  padding: clamp(28px, 5vw, 54px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  letter-spacing: -.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -.03em;
}

h3 {
  font-size: 1.25rem;
}

.lead,
.section-copy,
.muted,
.contact-list,
.card-copy,
.partner-meta,
.pricing-list,
.footer-copy,
.about-copy {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  font-size: 1.08rem;
  max-width: 60ch;
  margin-top: 18px;
}

.cta-row,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04111c;
  border: none;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(123,220,255,.2);
}

.button-secondary {
  color: var(--text);
  background: rgba(255,255,255,.02);
}

.button-secondary:hover {
  border-color: rgba(255,255,255,.28);
}

.glass-card {
  padding: 28px;
}

.stat-grid,
.partners-grid,
.gallery-grid,
.pricing-grid,
.info-grid {
  display: grid;
  gap: 18px;
}

.stat-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.stat,
.info-card,
.partner-card,
.gallery-card,
.pricing-card {
  border-radius: var(--radius);
  padding: 22px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.section {
  padding: 86px 20px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-copy {
  margin-top: 14px;
}

.info-grid {
  grid-template-columns: repeat(3, 1fr);
}

.info-card {
  min-height: 100%;
}

.icon-pill {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(123,220,255,.12);
  border: 1px solid rgba(123,220,255,.18);
  margin-bottom: 16px;
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-card {
  position: relative;
}

.gallery-media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border-radius: 22px 22px 0 0; /* or var(--radius) var(--radius) 0 0 */
  line-height: 0;
}

.gallery-media img,
.gallery-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.gallery-media::before {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(4, 8, 13, 0.72);
  border: 1px solid rgba(255,255,255,.12);
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-copy {
  padding: 20px 22px 24px;
}

.partners-grid {
  grid-template-columns: repeat(3, 1fr);
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.partner-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.page-hero {
  padding: 74px 20px 12px;
}

.page-hero-card {
  border-radius: 28px;
  padding: clamp(30px, 5vw, 54px);
  background: rgba(8, 12, 19, 0.78);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}

.about-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
}

.about-card,
.form-card {
  padding: 28px;
}

.about-stack {
  display: grid;
  gap: 18px;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-card.featured {
  border-color: rgba(123,220,255,.42);
  box-shadow: 0 0 0 1px rgba(123,220,255,.14) inset, var(--shadow);
}

.price-tag {
  font-size: 2rem;
  font-weight: 700;
  margin: 16px 0 12px;
}

.pricing-list {
  padding-left: 18px;
  margin: 0;
}

.pricing-list li + li {
  margin-top: 8px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

label {
  color: var(--text);
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  color: var(--text);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(123,220,255,.55);
  box-shadow: 0 0 0 4px rgba(123,220,255,.1);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.contact-list li + li {
  margin-top: 10px;
}

.footer {
  margin-top: 88px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(4, 8, 13, 0.75);
}

.footer-inner {
  padding: 26px 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 8, 0.75);
  backdrop-filter: blur(10px);
}

.modal__panel {
  position: relative;
  width: min(720px, calc(100% - 28px));
  margin: 6vh auto;
  border-radius: 26px;
  padding: 28px;
  background: var(--surface-strong);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
}

.notice {
  margin-top: 12px;
  font-size: 14px;
  color: #9ef0c3; /* soft green success tone */
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.notice:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-inner,
  .about-layout,
  .contact-grid,
  .info-grid,
  .partners-grid,
  .pricing-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-inner,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 20px;
    left: 20px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(6, 10, 16, 0.96);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link,
  .button,
  .button-secondary {
    width: 100%;
    justify-content: center;
  }

  .stat-grid,
  .info-grid,
  .partners-grid,
  .pricing-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar {
    padding: 14px 16px;
  }

  h1 {
    font-size: clamp(2.3rem, 12vw, 4.2rem);
  }
}


/* Landing page parallax refresh */
.landing-parallax-page .hero {
  min-height: 100vh;
  padding: 0 20px;
}

.hero-parallax {
  position: relative;
}

.hero-inner--single {
  grid-template-columns: 1fr;
}

.hero-copy--parallax {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  max-width: 920px;
  margin: 0 auto;
}

.lead--hero-narrow {
  max-width: 760px;
}

.scroll-cue {
  margin-top: 28px;
  background: transparent;
  color: var(--text);
  border: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
  cursor: pointer;
  opacity: 0.84;
}

.scroll-cue__arrow {
  font-size: 1.5rem;
  animation: floatArrow 1.6s ease-in-out infinite;
}

@keyframes floatArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.section-solid {
  position: relative;
  background: linear-gradient(180deg, rgba(5, 8, 12, 0.86), rgba(5, 8, 12, 0.96));
  margin-top: 50px;
  border-radius: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.split-feature__copy {
  padding: 32px;
}

.media-card {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 100%;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.section-copy--wide {
  max-width: 820px;
}

@media (max-width: 900px) {
  .split-feature {
    grid-template-columns: 1fr;
  }
}


.hero-inner--single {
  grid-template-columns: 1fr;
  max-width: 860px;
}

.page-hero {
  min-height: 52vh;
  display: grid;
  align-items: end;
  padding: 72px 20px 24px;
}

.page-hero-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(28px, 4vw, 46px);
}

.section-solid {
  padding-top: 28px;
  padding-bottom: 72px;
}

.section-actions {
  margin-top: 24px;
}

.gear-grid,
.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gear-card,
.credential-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: calc(var(--radius) + 4px);
  padding: 28px;
}

.gear-card--accent,
.credential-card--highlight {
  background: linear-gradient(180deg, rgba(123,220,255,.16), rgba(9,13,20,.9));
}

.feature-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.feature-list li + li {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .gear-grid,
  .credential-grid {
    grid-template-columns: 1fr;
  }
}
.field select {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  transition: 0.3s ease;
}

.field select:hover {
  border-color: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.field select:focus {
  border-color: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,0.6);
}

.gallery-card {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.gallery-card__title {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: white;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 2;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.02), rgba(0,0,0,0.02));
  pointer-events: none;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(94vw, 1200px);
  margin: 0;
  display: grid;
  place-items: center;
}

.lightbox__content {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 72px 72px 28px;
}

.lightbox__content img,
.lightbox__content video {
  display: block;
  width: auto;
  height: auto;
  max-width: min(88vw, 1100px);
  max-height: min(78vh, 820px);
  object-fit: contain;
  object-position: center center;
  border-radius: 18px;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: white;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.lightbox__close {
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.5rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-size: 2rem;
}

.lightbox__nav--next {
  right: -10px;
}

.lightbox__nav--prev {
  left: -10px;
}

@media (max-width: 768px) {
  .lightbox {
    padding: 10px;
  }

  .lightbox__content {
    width: 100%;
    display: grid;
    place-items: center;
    padding: 72px 92px 28px;
  }
  .lightbox__content img,
  .lightbox__content video {
    max-width: 92vw;
    max-height: 68vh;
  }

  .lightbox__nav--prev {
    left: 2px;
  }

  .lightbox__nav--next {
    right: 2px;
  }
}

.rounded {
    border-radius: 15px; /* Adjust px for more/less rounding */
}

.logo{
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0);
}

.logo:hover,
.logo[aria-current="page"] {
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(123, 220, 255, 0.605) inset, 0 0 24px rgba(123, 220, 255, 0.591);
  background: rgba(123, 220, 255, 0.25);
}

/* =========================
   Grad page + landing banner additions
   Paste at the END of assets/styles.css
   ========================= */

/* =========================
   Grad page + landing banner additions
   Paste at the END of assets/styles.css
   ========================= */

.grad-page {
  --bg: #080304;
  --surface: rgba(24, 10, 11, 0.8);
  --surface-strong: rgba(18, 7, 8, 0.94);
  --text: #fff8f8;
  --muted: #e7cfd1;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #c5050c;
  --accent-2: #ff7b7b;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
  background:
    radial-gradient(circle at top, rgba(197, 5, 12, 0.2), transparent 35%),
    linear-gradient(180deg, #050203 0%, #0b0406 48%, #030102 100%);
}

/* extra hero spacing so the top text does not feel cramped against the navbar */
.grad-page .hero {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* a little more room around the hero content */
.grad-page .hero-copy--parallax,
.grad-page .hero-copy {
  padding-top: clamp(38px, 5vw, 60px);
}

/* more distance between the main hero content and the scroll prompt */
.grad-page .scroll-cue {
  margin-top: 42px;
}

/* more distance between scroll prompt and next section */
.grad-page .section:first-of-type {
  padding-top: 110px;
}

.grad-page .video-shell::after {
  background: linear-gradient(180deg, rgba(6, 2, 2, 0.46) 0%, rgba(10, 3, 4, 0.68) 45%, rgba(10, 3, 4, 0.9) 100%);
}

.grad-page .kicker,
.grad-page .scroll-cue {
  color: #ffd6d8;
}

.grad-page .brand:hover,
.grad-page .brand:focus-visible {
  opacity: 1;
}

.grad-page .nav-link,
.grad-page .button,
.grad-page .button-secondary,
.grad-site-banner__button {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.grad-page .nav-link {
  background: rgba(255, 255, 255, 0.03);
}

.grad-page .nav-link:hover,
.grad-page .nav-link:focus-visible {
  color: var(--text);
  border-color: rgba(197, 5, 12, 0.7);
  box-shadow: 0 0 0 1px rgba(197, 5, 12, 0.24) inset, 0 0 24px rgba(197, 5, 12, 0.18);
}

.grad-page .button,
.grad-site-banner__button {
  background: linear-gradient(135deg, #c5050c, #ff7b7b);
  color: #fff;
  border: none;
}

.grad-page .button:hover,
.grad-site-banner__button:hover {
  box-shadow: 0 12px 28px rgba(197, 5, 12, 0.28);
}

.grad-page .button-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.grad-page .button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.grad-page .icon-pill {
  background: rgba(197, 5, 12, 0.16);
  border-color: rgba(197, 5, 12, 0.24);
}

.grad-page .pricing-card.featured {
  border-color: rgba(197, 5, 12, 0.7);
  box-shadow: 0 0 0 1px rgba(197, 5, 12, 0.18) inset, var(--shadow);
}

.grad-page input:focus,
.grad-page textarea:focus,
.grad-page select:focus {
  border-color: rgba(197, 5, 12, 0.7);
  box-shadow: 0 0 0 4px rgba(197, 5, 12, 0.14);
}

.grad-shot-grid .gallery-media {
  background: linear-gradient(135deg, rgba(197, 5, 12, 0.18), rgba(255, 123, 123, 0.1));
}

.grad-disclaimer {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(197, 5, 12, 0.1);
  border: 1px solid rgba(197, 5, 12, 0.18);
  color: #ffe7e8;
  line-height: 1.6;
}

.grad-map-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 22px;
  align-items: stretch;
}

.grad-map-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 100%;
}

.grad-map {
  width: 100%;
  min-height: 500px;
}

.grad-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.grad-team-card {
  min-height: 100%;
}

.grad-team-card .partner-logo {
  background: linear-gradient(135deg, rgba(197, 5, 12, 0.22), rgba(255, 123, 123, 0.14));
  border-color: rgba(197, 5, 12, 0.2);
}

/* Landing page grad banner */
.landing-parallax-page .grad-site-banner {
  position: fixed;
  top: calc(var(--nav-height) + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 32px));
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(23, 8, 9, 0.9);
  border: 1px solid rgba(197, 5, 12, 0.28);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  animation: gradBannerIn 0.55s ease;
}

.grad-site-banner__text {
  color: #fff2f3;
  line-height: 1.5;
  font-weight: 600;
}

.grad-site-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.grad-site-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.grad-site-banner__close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff2f3;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
}

.grad-site-banner__close:hover,
.grad-site-banner__close:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(197, 5, 12, 0.45);
  outline: none;
}

.grad-site-banner.is-closing {
  animation: gradBannerOut 0.35s ease forwards;
}

@keyframes gradBannerIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes gradBannerOut {
  from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
}

@media (max-width: 1100px) {
  .grad-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .grad-map-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    background: rgba(8, 8, 10, 0.92);
    backdrop-filter: blur(12px);
  }

  .navbar {
    min-height: 68px;
    padding: 10px 14px;
    position: relative;
    gap: 10px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
    max-width: calc(100% - 72px);
  }

  .brand span {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    flex: 0 0 auto;
    position: relative;
    z-index: 1002;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 14px;
    left: 14px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(6, 10, 16, 0.97);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    z-index: 1001;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link,
  .button,
  .button-secondary {
    width: 100%;
    justify-content: center;
  }

  .landing-parallax-page .grad-site-banner {
    position: fixed;
    top: 74px;
    left: 10px;
    right: 10px;
    width: auto;
    margin: 0;
    transform: none;
    padding: 8px 10px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    z-index: 950;
  }

  .grad-site-banner__text {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .grad-site-banner__actions {
    display: contents;
  }

  .grad-site-banner__button {
    padding: 8px 12px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .grad-site-banner__close {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .landing-parallax-page .hero {
    padding-top: 138px;
  }

  .grad-page .hero {
    padding-top: 132px;
    padding-bottom: 120px;
  }

  .grad-page .scroll-cue {
    margin-top: 52px;
  }

  .grad-page .section:first-of-type {
    padding-top: 120px;
  }

  .grad-map {
    min-height: 360px;
  }

  .grad-team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 0.68rem;
  }

  .landing-parallax-page .grad-site-banner {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .grad-site-banner__text {
    grid-column: 1 / -1;
  }

  .grad-site-banner__button {
    justify-self: start;
  }

  .grad-site-banner__close {
    justify-self: end;
  }

  .landing-parallax-page .hero {
    padding-top: 162px;
  }
}

.inline-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.inline-carousel__viewport {
  overflow: hidden;
}

.inline-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 34%);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}

.inline-carousel__track::-webkit-scrollbar {
  display: none;
}

.inline-carousel__slide {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: var(--shadow);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  min-height: 100%;
}

.inline-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.inline-carousel__button {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--text);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.inline-carousel__button:hover,
.inline-carousel__button:focus-visible {
  transform: translateY(-1px);
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  outline: none;
}

.grad-page .inline-carousel__button:hover,
.grad-page .inline-carousel__button:focus-visible {
  border-color: rgba(197, 5, 12, 0.45);
  box-shadow: 0 0 0 1px rgba(197, 5, 12, 0.16) inset, 0 10px 24px rgba(197, 5, 12, 0.16);
}

@media (max-width: 980px) {
  .inline-carousel__track {
    grid-auto-columns: minmax(260px, 48%);
  }
}

@media (max-width: 760px) {
  .inline-carousel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .inline-carousel__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
  }

  .inline-carousel__button--prev {
    left: 8px;
  }

  .inline-carousel__button--next {
    right: 8px;
  }

  .inline-carousel__track {
    grid-auto-columns: 82%;
    gap: 14px;
    padding-inline: 6px;
  }
}
/* =========================
   FINAL lightbox override
   Paste at the VERY END of styles.css
   ========================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 0;
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  max-width: none;
  margin: 0;
  display: grid;
  place-items: center;
}

.lightbox__content {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 72px 28px 28px;
}

/* images + self-hosted videos */
.lightbox__content img,
.lightbox__content video {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1500px);
  max-height: min(84vh, 950px);
  object-fit: contain;
  object-position: center center;
  border-radius: 18px;
}

/* YouTube embeds */
.lightbox__youtube {
  display: block;
  width: min(94vw, 1500px);
  aspect-ratio: 16 / 9;
  max-height: 84vh;
  border: 0;
  border-radius: 18px;
  background: #000;
  box-shadow: var(--shadow);
}

/* keep the close button above everything */
.lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2005;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: white;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

/* put arrows on the viewport edges, not on top of the media */
.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2005;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.16);
  color: white;
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

.lightbox__nav:hover,
.lightbox__close:hover {
  background: rgba(255,255,255,0.24);
}

@media (max-width: 768px) {
  .lightbox__content {
    padding: 64px 12px 18px;
  }

  .lightbox__content img,
  .lightbox__content video {
    max-width: 94vw;
    max-height: 72vh;
  }

  .lightbox__youtube {
    width: 96vw;
    max-height: 72vh;
  }

  .lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }

  .lightbox__nav--prev {
    left: 8px;
  }

  .lightbox__nav--next {
    right: 8px;
  }

  .lightbox__close {
    top: 10px;
    right: 10px;
  }
}
/* Grad photos page only: 4 pricing cards per row on desktop */
.grad-page .pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Tablet: 2x2 */
@media (max-width: 980px) {
  .grad-page .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: stack */
@media (max-width: 760px) {
  .grad-page .pricing-grid {
    grid-template-columns: 1fr;
  }
}