/* F26 Media - shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --bg-raised: #121212;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f0f0f0;
  --text-mid: #c8c8c8;
  --text-light: #9a9a9a;
  --accent: #3da870;
  --accent-bright: #5fd394;
  --nav-h: 70px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- NAV (header bar) ---------- */
:root { --ease-main: cubic-bezier(0.65, 0.01, 0.05, 0.99); }

.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-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
/* solid bar once you scroll past the top of the page */
.site-nav.is-scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}
.menu-open .site-nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

.nav-inner {
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 50px; width: auto; }

.nav-right { display: flex; align-items: center; gap: 22px; }

.nav-cta {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--accent);
  padding: 11px 18px;
  transition: background 0.25s, color 0.25s, opacity 0.3s;
}
.nav-cta:hover { background: var(--accent); color: #0a0a0a; }
.menu-open .nav-cta { opacity: 0; pointer-events: none; }

.menu-button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
  padding: 8px 0 8px 6px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.menu-button:hover { color: var(--accent-bright); }

/* "Menu" / "Close" rolling text */
.menu-button-text {
  display: block;
  height: 1.25em;
  line-height: 1.25em;
  overflow: hidden;
  text-align: right;
}
.menu-button-text span {
  display: block;
  transition: transform 0.7s var(--ease-main);
}
.menu-button-text span:nth-child(2) { transition-delay: 0.08s; }
.menu-open .menu-button-text span { transform: translateY(-100%); }

.icon-wrap {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: border-color 0.3s, background 0.3s;
}
.menu-button:hover .icon-wrap { border-color: var(--accent); }
.menu-open .icon-wrap { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.menu-button-icon {
  width: 14px; height: 14px;
  transition: transform 0.7s var(--ease-main);
}
.menu-open .menu-button-icon { transform: rotate(315deg); }

/* ---------- FULL-SCREEN MENU ---------- */
.nav-overlay-wrapper {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}
.nav-overlay-wrapper.is-visible { display: block; }

.menu-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.7s var(--ease-main);
  cursor: pointer;
}
.is-open .menu-dim { opacity: 1; }
.is-closing .menu-dim { opacity: 0; }

.menu-content {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(760px, 100%);
  overflow: hidden;
  transition: transform 0.7s var(--ease-main);
}
.is-closing .menu-content { transform: translateX(120%); }

.menu-bg { position: absolute; inset: 0; }

/* three layered panels that sweep in one after another */
.backdrop-layer {
  position: absolute;
  inset: 0;
  transform: translateX(101%);
  transition: transform 0.575s var(--ease-main);
}
.backdrop-layer.first  { background: var(--accent); }
.backdrop-layer.second { background: #0f3b27; transition-delay: 0.12s; }
.backdrop-layer.third  { background: #0d0d0d; transition-delay: 0.24s; }
.is-open .backdrop-layer { transform: translateX(0); }

/* shapes that pop in behind the links on hover */
.ambient-background-shapes { position: absolute; inset: 0; pointer-events: none; }
.bg-shape {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.shape-element {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: scale(0.6) rotate(-10deg);
  transition: opacity 0.3s ease-in, transform 0.3s ease-in;
}
.bg-shape.active .shape-element {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition: opacity 0.6s, transform 0.6s cubic-bezier(0.34, 1.7, 0.64, 1);
  transition-delay: calc(var(--i, 0) * 0.08s);
}

.menu-content-wrapper {
  position: relative;
  z-index: 2;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: calc(var(--nav-h) + 40px) 56px 44px;
}

.menu-list { list-style: none; }

.menu-list-item { overflow: hidden; }

.nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 6px 12px 6px 0;
  text-decoration: none;
  color: var(--text);
  transform: translateY(140%) rotate(10deg);
  transform-origin: left bottom;
  transition: transform 0.7s var(--ease-main), color 0.25s;
}
.is-open .nav-link {
  transform: translateY(0) rotate(0);
  transition-delay: calc(0.4s + var(--i, 0) * 0.05s), 0s;
}

.nav-link-num {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  min-width: 22px;
}

.nav-link-text {
  position: relative;
  z-index: 1;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 74px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: transform 0.45s var(--ease-main);
}

.nav-link-hover-bg {
  position: absolute;
  left: -56px; right: 0; top: 0; bottom: 0;
  background: rgba(61, 168, 112, 0.1);
  border-left: 3px solid var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-main);
}
.nav-link:hover .nav-link-text,
.nav-link:focus-visible .nav-link-text { transform: translateX(14px); color: var(--accent-bright); }
.nav-link:hover .nav-link-hover-bg,
.nav-link:focus-visible .nav-link-hover-bg { transform: scaleX(1); }
.nav-link:focus-visible { outline: none; }

/* bottom row: services + contact */
.menu-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-top: 1px solid transparent;
  padding-top: 28px;
  transition: border-color 0.5s;
}
.is-open .menu-foot { border-top-color: rgba(255, 255, 255, 0.12); transition-delay: 0.6s; }
[data-menu-fade] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-main), transform 0.6s var(--ease-main);
}
.is-open [data-menu-fade] {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.65s + var(--i, 0) * 0.06s);
}
.menu-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}
.menu-services { list-style: none; }
.menu-services a {
  display: inline-block;
  padding: 5px 0;
  font-size: 15px;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.menu-services a:hover { color: var(--accent-bright); transform: translateX(4px); }
.menu-cta { padding: 13px 22px; font-size: 12px; margin-bottom: 20px; }
.menu-col .footer-social { gap: 10px; }
.menu-col .footer-social a { width: 30px; height: 30px; justify-content: flex-start; }

html.menu-open { overflow: hidden; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border: 2px solid var(--text);
  background: transparent;
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--text); color: #0a0a0a; }

.btn-accent { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.btn-accent:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: #0a0a0a; }

.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- ANIMATED GRADIENT (hero background) ---------- */
.velaris {
  position: relative;
  overflow: hidden;
  /* fallback if WebGL isn't available */
  background:
    radial-gradient(ellipse at 30% 40%, rgba(61, 168, 112, 0.55), transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(5, 150, 105, 0.45), transparent 55%),
    #000;
}
.velaris canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.velaris.is-ready canvas { opacity: 1; }
.velaris::after { /* keeps the text readable over the brightest parts */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15) 75%);
  pointer-events: none;
}
.velaris > .velaris-content { position: relative; z-index: 2; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 60px;
}

.eyebrow {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 7vw, 84px);
  letter-spacing: 0.02em;
  line-height: 1.04;
  max-width: 16ch;
  margin: 0 auto 24px;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hero .lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 36px;
}

.page-hero { min-height: 62vh; }
.page-hero h1 { font-size: clamp(36px, 5.5vw, 64px); max-width: 18ch; }

/* ---------- SECTIONS ---------- */
section { padding: 90px 40px; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-alt { background: var(--bg-raised); }

.section-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 18px;
}

.section-divider {
  width: 50px; height: 3px;
  background: var(--accent);
  margin: 0 auto 26px;
}

.section-intro {
  text-align: center;
  color: var(--text-mid);
  font-size: 17px;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 50px;
}

/* ---------- SERVICE CARDS ---------- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.service-card:hover {
  border-color: var(--accent);
  background: rgba(61, 168, 112, 0.06);
  transform: translateY(-3px);
}

.service-card h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.service-card .platforms {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 14px;
}
.service-card p { color: var(--text-mid); font-size: 15px; line-height: 1.7; flex: 1; }
.service-card .more {
  margin-top: 20px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.service-card .more::after { content: " \2192"; }

.white-label {
  margin-top: 40px;
  padding: 26px 30px;
  border: 1px dashed rgba(61, 168, 112, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.white-label p { color: var(--text-mid); font-size: 15px; line-height: 1.7; max-width: 680px; }
.white-label strong { color: var(--text); }

/* ---------- STEPS ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.steps-grid.four { grid-template-columns: repeat(4, 1fr); }
.step-number {
  font-family: 'Raleway', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: #333;
  line-height: 1;
  margin-bottom: 10px;
}
.step h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--accent);
}
.step p { font-size: 16px; color: var(--text-mid); line-height: 1.75; }

/* ---------- WHY US ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.why-card img {
  width: 72px; height: 72px;
  object-fit: contain;
  margin: 0 auto 16px;
  mix-blend-mode: lighten; /* hides the black box behind the white icons */
}
.why-card h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.why-card p { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

/* ---------- TESTIMONIALS ---------- */
#testimonials {
  background: url('images/testimonials-bg.jpg') center/cover no-repeat fixed;
  position: relative;
}
.testimonials-overlay { position: absolute; inset: 0; background: rgba(10, 20, 45, 0.8); }
.testimonials-content { position: relative; z-index: 2; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 30px;
}
.testimonial-card .quote {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-card .name {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
}
.testimonial-card .title { font-size: 12px; opacity: 0.55; margin-top: 4px; }

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}
.about-text p { font-size: 16px; line-height: 1.85; color: var(--text-mid); margin-bottom: 16px; }
.about-text .btn { margin-top: 14px; }
.about-img img { width: 100%; max-height: 380px; object-fit: cover; }

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 20px;
}
.team-member img { width: 100%; height: 280px; object-fit: cover; margin-bottom: 18px; }
.team-member h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.team-member .role {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.team-member p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 12px; }

/* ---------- CERTS ---------- */
#certs { padding: 50px 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.certs-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}
.certs-grid img {
  height: 60px; width: auto;
  object-fit: contain;
  filter: grayscale(30%) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.certs-grid img:hover { opacity: 1; }

/* ---------- SERVICE PAGE BLOCKS ---------- */
.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.included-item {
  padding: 26px 26px 24px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
}
.included-item h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}
.included-item p { font-size: 15px; line-height: 1.7; color: var(--text-mid); }

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.fit-grid h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--line);
  color: var(--text-mid);
  line-height: 1.6;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 18px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent-bright);
  border-bottom: 2px solid var(--accent-bright);
  transform: rotate(-45deg);
}

.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 16px;
  font-size: 26px;
  font-weight: 400;
  color: var(--accent-bright);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text-mid); line-height: 1.8; font-size: 15px; }

.other-services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.other-services a {
  padding: 12px 20px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}
.other-services a:hover { border-color: var(--accent); color: var(--accent-bright); }

.cta-band { text-align: center; }
.cta-band h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
}
.cta-band p { color: rgba(255, 255, 255, 0.85); font-size: 17px; line-height: 1.7; max-width: 560px; margin: 0 auto 30px; }

/* ---------- CONTACT ---------- */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  padding: 13px 16px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
}
.form-group select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.form-group select option { background: #111; color: var(--text); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { height: 130px; resize: vertical; }
.form-submit { text-align: center; margin-top: 10px; }
.form-submit .btn { font-size: 14px; padding: 16px 52px; letter-spacing: 0.2em; }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--line); padding: 34px 40px; }
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo img { height: 44px; width: auto; }
.footer-copy { font-size: 14px; color: rgba(240, 240, 240, 0.5); }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.footer-social a:hover { opacity: 1; }
.footer-social svg { width: 22px; height: 22px; fill: #fff; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid.four { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-inner { padding: 0 16px 0 20px; }
  .menu-content-wrapper { padding: calc(var(--nav-h) + 24px) 24px 32px; }
  .nav-link-hover-bg { left: -24px; }
  .nav-link { gap: 12px; }
}

@media (max-width: 600px) {
  .nav-cta { display: none; }
  .menu-foot { grid-template-columns: 1fr; gap: 26px; }
  .nav-link-text { font-size: clamp(28px, 9.4vw, 48px); letter-spacing: 0; }
}

@media (max-width: 768px) {
  section { padding: 64px 20px; }
  #certs { padding: 40px 20px; }
  footer { padding: 30px 20px; }
  .steps-grid,
  .steps-grid.four,
  .why-grid,
  .testimonials-grid,
  .about-grid,
  .team-grid,
  .included-grid,
  .fit-grid,
  .form-row { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr; }
  .about-grid { gap: 36px; }
  #testimonials { background-attachment: scroll; }
  .footer-inner { justify-content: center; text-align: center; flex-direction: column; }
  .hero .btn-row .btn { width: 100%; max-width: 320px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.16em; padding: 7px 14px; }
}

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

/* branded keyboard focus ring */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}

/* ---------- SERVICES OVERVIEW PAGE ---------- */
.see-all { text-align: center; margin-top: 36px; }

.svc-chips-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.svc-chips {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.svc-chips::-webkit-scrollbar { display: none; }
.svc-chips a {
  flex: none;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  color: var(--text-mid);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.svc-chips a:hover,
.svc-chips a.is-current { border-color: var(--accent); color: var(--text); background: rgba(61, 168, 112, 0.1); }

.svc-list-section { padding-top: 30px; }
.svc-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 70px);
}
.svc-row:last-child { border-bottom: 0; }
.svc-num {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(95, 211, 148, 0.55);
  margin-bottom: 14px;
}
.svc-main h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.svc-main .platforms {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 20px;
}
.svc-lead { font-size: 17px; line-height: 1.8; color: var(--text-mid); margin-bottom: 28px; }
.svc-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.text-link {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-bright);
  border-bottom: 1px solid rgba(95, 211, 148, 0.4);
  padding-bottom: 3px;
}
.text-link:hover { border-bottom-color: var(--accent-bright); }
.svc-side { padding-top: 8px; }
.svc-side .check-list li { padding-top: 10px; padding-bottom: 10px; }
.svc-side .check-list li::before { top: 16px; }

.other-services a.all { border-color: var(--accent); color: var(--accent-bright); }

@media (max-width: 768px) {
  .svc-chips { padding: 12px 20px; }
  .svc-row { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .svc-num { font-size: 44px; }
}

/* ---------- ABOUT PAGE ---------- */
.about-heading {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
#story .about-grid { margin-bottom: 0; }
#team .team-grid { margin-top: 30px; }

/* ---------- CONTACT PAGE ---------- */
.contact-hero { min-height: 48vh; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.next-steps { list-style: none; margin-bottom: 36px; }
.next-steps li {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.next-steps li > span {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--accent-bright);
  padding-top: 2px;
  min-width: 26px;
}
.next-steps h3 { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.next-steps p { color: var(--text-mid); font-size: 15px; line-height: 1.7; }
.contact-quote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 22px;
  margin-bottom: 34px;
}
.contact-quote p { font-style: italic; line-height: 1.8; color: var(--text); margin-bottom: 10px; }
.contact-quote cite { font-style: normal; font-size: 13px; color: var(--text-light); }
.contact-social .footer-social a { justify-content: flex-start; }
.form-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  padding: 40px 36px 36px;
}
.form-card .contact-form { max-width: none; }
.form-card .form-submit { text-align: left; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-card { order: -1; padding: 30px 22px; }
}

/* ---------- HOMEPAGE PORTAL HERO ----------
   Big word filled with the green lights. Scrolling dives into one letter
   until the lights fill the screen, then fades into the Services section. */
.portal { position: relative; isolation: isolate; background: var(--bg); }

.portal-pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  z-index: 0;
  /* soft glow around the word, outside the letters */
  background: radial-gradient(ellipse 60% 45% at 50% 47%, rgba(61, 168, 112, 0.16), transparent 70%), var(--bg);
}
.portal[data-motion="on"] .portal-pin { position: sticky; top: 0; }

.portal-bg { position: absolute; inset: 0; }
.portal-bg.velaris::after { display: none; }

.portal[data-ready] .portal-bg { clip-path: url(#portal-clip); }
.portal-art { position: absolute; width: 0; height: 0; overflow: hidden; }
.portal-art text {
  font-size: 100px;
  font-weight: 800;
  font-kerning: none;
  font-variant-ligatures: none;
  letter-spacing: 0;
}
.portal:not([data-ready]) .portal-bg { opacity: 0.35; }

.portal-dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--bg);
  opacity: var(--dim, 0);
  pointer-events: none;
}

.portal-front {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: var(--front, 1);
  transform: translateY(calc((1 - var(--front, 1)) * -30px));
  pointer-events: none;
}
.portal-front a { pointer-events: var(--front-hit, auto); }

.portal-above {
  position: absolute;
  left: 20px; right: 20px;
  bottom: calc(100% - var(--word-top, 38%) + clamp(14px, 2.4vh, 28px));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.portal-above .eyebrow { margin-bottom: clamp(14px, 2.4vh, 24px); }
.portal-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.portal-below {
  position: absolute;
  left: 20px; right: 20px;
  top: calc(var(--word-bottom, 58%) + clamp(18px, 3.4vh, 40px));
  text-align: center;
}
.portal-below .lead {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 660px;
  margin: 0 auto clamp(20px, 3.4vh, 34px);
}

.portal-fallback-word {
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: min(15vw, 30vh);
  line-height: 1;
  color: var(--accent-bright);
}
.portal[data-ready] .portal-fallback-word { display: none; }

.portal-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vh, 36px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
}
.portal-cue i {
  display: block;
  width: 1px; height: 38px;
  background: linear-gradient(var(--accent-bright), transparent);
  animation: cue 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.portal-content {
  position: relative;
  z-index: 4;
  padding: 90px 40px;
  background: var(--bg);
}
.portal[data-motion="on"] .portal-content {
  margin-top: calc((var(--plen, 2.2) - 1) * var(--ph, 100vh));
  background: transparent;
  opacity: var(--reveal, 0);
  transform: translateY(calc((1 - var(--reveal, 0)) * 60px));
  pointer-events: var(--reveal-hit, none);
}

@media (max-width: 768px) {
  .portal-content { padding: 64px 20px; }
  .portal-below .btn-row .btn { width: 100%; max-width: 320px; }
  .portal-below .lead { font-size: 15px; }
}
@media (max-height: 640px) {
  .portal-cue { display: none; }
}

/* ---------- HERO LAYOUT v2: everything stacks in one centered column ---------- */
.portal-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 12px) 20px 84px;
}
.portal-above,
.portal-below { position: static; left: auto; right: auto; bottom: auto; top: auto; width: 100%; }
.portal-above { margin-bottom: clamp(10px, 2vh, 20px); }
.portal-word-slot {
  position: relative;
  flex: none;
  width: 100%;
  height: var(--word-h, min(15vw, 30vh));
}
.portal-below { margin-top: clamp(16px, 3vh, 34px); }
.portal-below .btn-row { justify-content: center; }
@media (max-width: 768px) {
  .portal-front { padding-bottom: 72px; }
  .portal-title { font-size: clamp(26px, 8vw, 40px); }
  .portal-below .lead { font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
  .portal-below .btn-row { gap: 10px; }
}
@media (max-height: 700px) {
  .portal-cue { display: none; }
  .portal-front { padding-bottom: 20px; }
}

/* ---------- MOUNTAIN BACKDROP (How We Do It + Testimonials) ----------
   The photo is pinned to the screen and the sections scroll over it.
   Uses a clipped fixed layer instead of background-attachment: fixed,
   which iPhones ignore. */
.mountain-zone { position: relative; isolation: isolate; clip-path: inset(0 0 2px 0); margin-bottom: -2px; }
.mountain-bg { position: absolute; inset: 0; z-index: -2; }
.mountain-img {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: url('images/testimonials-bg.jpg') center 40% / cover no-repeat;
  filter: saturate(1.1);
}
.mountain-shade {
  position: absolute;
  inset: 0 0 -4px 0;
  z-index: -1;
  background: linear-gradient(to bottom,
    #0a0a0a 0%,
    rgba(10, 10, 10, 0.86) 14%,
    rgba(8, 18, 13, 0.8) 45%,
    rgba(8, 18, 13, 0.74) 66%,
    rgba(10, 10, 10, 0.9) 86%,
    #0a0a0a 96%,
    #0a0a0a 100%);
}
#testimonials { background: none; }
.mountain-zone .testimonial-card { background: rgba(10, 10, 10, 0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
/* the hero section must not get the generic section padding */
section.portal { padding: 0; }

/* not enough room for the "Scroll" cue: drop it and its reserved space */
.portal[data-tight] .portal-cue { display: none; }
.portal[data-tight] .portal-front { padding-bottom: 16px; }

/* ---------- BIGGER HEADER ON DESKTOP (shrinks a bit once you scroll) ---------- */
.site-nav { transition: height 0.3s, background 0.35s, border-color 0.35s, backdrop-filter 0.35s; }
.nav-logo img { transition: height 0.3s; }
@media (min-width: 861px) {
  :root { --nav-h: 96px; }
  .nav-inner { padding: 0 48px; }
  .nav-logo img { height: 72px; }
  .nav-right { gap: 32px; }
  .nav-cta { font-size: 15px; padding: 14px 26px; }
  .menu-button { font-size: 17px; gap: 14px; }
  .icon-wrap { width: 46px; height: 46px; }
  .menu-button-icon { width: 17px; height: 17px; }
  .site-nav.is-scrolled { height: 78px; }
  .site-nav.is-scrolled .nav-logo img { height: 58px; }
}

/* "What's included" with exactly 3 items: one row of three on desktop */
@media (min-width: 769px) {
  .included-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
}

/* three "What's included" items sit in one row instead of leaving one orphaned */
@media (min-width: 769px) {
  .included-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
}

/* spam trap for the contact form: hidden from people, bots fill it in */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.page-hero.contact-hero:only-of-type { min-height: 70vh; }
