/* BootWay — calm, product-led indoor navigation site */

:root {
  --ink: #131c2e;
  --ink-2: #2c3a52;
  --muted: #5d6b81;
  --line: rgba(19, 28, 46, 0.09);
  --paper: #f8fafc;
  --soft: #eff4fb;
  --white: #ffffff;
  --brand: #2f62f5;
  --brand-deep: #2450d0;
  --brand-mist: rgba(47, 98, 245, 0.08);
  /* Tight, negative-spread shadows keep edges crisp instead of hazy */
  --shadow-sm: 0 1px 2px rgba(19, 28, 46, 0.05);
  --shadow: 0 12px 34px -18px rgba(19, 28, 46, 0.3);
  --shadow-lg: 0 30px 70px -28px rgba(19, 28, 46, 0.45);
  --radius: 16px;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Figtree", sans-serif;
  --container: min(1180px, calc(100% - 2.5rem));
  --header-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--muted);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1.07;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.35rem);
}

h2 {
  font-size: clamp(1.95rem, 4.2vw, 3rem);
}

/* Small headings need their leading back */
h3,
h4 {
  letter-spacing: -0.02em;
  line-height: 1.32;
}

h3 {
  font-size: 1.28rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.24rem);
  color: var(--muted);
  max-width: 36rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.section {
  padding: clamp(4.25rem, 8vw, 6.5rem) 0;
}

.section-soft {
  background: var(--soft);
}

.section-head {
  max-width: 34rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head.center .lead,
.section-head.center .eyebrow {
  margin-inline: auto;
}

.section-head.center .eyebrow::before {
  display: none;
}

/* ---------- Header ---------- */
/* Floating glass bar — detached from the top edge */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: 0.875rem;
}

.header-inner {
  width: var(--container);
  margin-inline: auto;
  height: 60px;
  padding: 0 0.6rem 0 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 28px -18px rgba(19, 28, 46, 0.45);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled .header-inner {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 40px -22px rgba(19, 28, 46, 0.55);
}

.brand-link img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.1rem;
  align-items: center;
}

.nav-links a {
  display: block;
  padding: 0.55rem 0.8rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-mist);
}

/* Specificity has to beat .btn, which is declared later */
.header-inner .nav-cta {
  display: none;
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  white-space: nowrap;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--ink);
  margin: 2.5px 0;
  transition: 0.22s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: calc(var(--header-h) + 0.4rem);
  right: 1.25rem;
  width: min(260px, calc(100vw - 2rem));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.6rem;
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  font-weight: 500;
  color: var(--ink-2);
}

.mobile-nav a:hover {
  background: var(--brand-mist);
  color: var(--brand);
}

.mobile-nav .mobile-nav-cta {
  margin-top: 0.4rem;
  min-height: 44px;
  color: var(--white);
  text-align: center;
}

.mobile-nav .mobile-nav-cta:hover {
  background: var(--brand-deep);
  color: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  font-size: 1.04rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 8px 22px -10px rgba(47, 98, 245, 0.8);
}

.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: 0 13px 28px -10px rgba(47, 98, 245, 0.9);
}

.btn-whatsapp {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp .icon {
  color: #25d366;
}

.btn-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 10px 26px -12px rgba(37, 211, 102, 0.9);
  transform: translateY(-1px);
}

.btn-tour {
  background: linear-gradient(165deg, #ffffff 0%, #eef3ff 100%);
  color: var(--ink);
  border-color: rgba(47, 98, 245, 0.22);
  box-shadow: 0 8px 22px -12px rgba(47, 98, 245, 0.45);
}

.btn-tour .icon {
  color: var(--brand);
}

.btn-tour:hover {
  border-color: rgba(47, 98, 245, 0.55);
  color: var(--brand-deep);
  background: linear-gradient(165deg, #ffffff 0%, #e4ecff 100%);
  box-shadow: 0 14px 30px -12px rgba(47, 98, 245, 0.55);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.cta-row .btn {
  max-width: 100%;
}

/* ---------- Icons ---------- */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Brand glyphs are solid shapes, not outline strokes */
.icon-solid {
  fill: currentColor;
  stroke: none;
}

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--white), rgba(47, 98, 245, 0.1));
  border: 1px solid rgba(47, 98, 245, 0.12);
  box-shadow: 0 8px 18px -14px rgba(47, 98, 245, 0.75);
  color: var(--brand);
  flex-shrink: 0;
}

.icon-badge .icon {
  width: 25px;
  height: 25px;
}

.icon-badge.is-whatsapp {
  background: linear-gradient(145deg, var(--white), rgba(37, 211, 102, 0.14));
  border-color: rgba(37, 211, 102, 0.24);
  box-shadow: 0 8px 18px -14px rgba(37, 211, 102, 0.85);
  color: #1fb457;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 3.25rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(ellipse 60% 50% at 8% 6%, rgba(47, 98, 245, 0.11), transparent 60%),
    radial-gradient(ellipse 50% 45% at 95% 55%, rgba(120, 165, 255, 0.13), transparent 55%),
    linear-gradient(180deg, #f9fbfe 0%, #eef3fb 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(47, 98, 245, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 98, 245, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 35%, black 10%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: center;
}

.hero .eyebrow {
  margin-bottom: 1.1rem;
}

.hero h1 {
  max-width: 16ch;
  margin-bottom: 1.15rem;
}

/* Accent on the closing phrase carries the eye into the copy */
.hero h1 span {
  color: var(--brand);
}

.hero .lead {
  max-width: 35rem;
  font-size: clamp(1.12rem, 1.6vw, 1.3rem);
}

/* Staggered entrance — the page arrives instead of just appearing */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-copy > *,
.hero-media {
  animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy > *:nth-child(1) {
  animation-delay: 0.04s;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 0.12s;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 0.2s;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 0.28s;
}

.hero-copy > *:nth-child(5) {
  animation-delay: 0.36s;
}

.hero-media {
  animation-duration: 0.95s;
  animation-delay: 0.22s;
}

.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-assurance li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.02rem;
  color: var(--ink-2);
}

.hero-assurance .icon {
  box-sizing: content-box;
  width: 19px;
  height: 19px;
  padding: 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(47, 98, 245, 0.1);
  color: var(--brand);
}

/* Hero media — real usage footage, right of the copy */
.hero-media {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(380px, 84vw);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -12% -16% -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 98, 245, 0.16), transparent 68%);
  filter: blur(4px);
  z-index: -1;
}

.hero-media-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: #dbe4f2;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* Cropped off the native 720:1040 so the frame never towers over the copy */
.hero-media-frame video {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 45%;
}

.hero-media figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Device frame — real product screenshots */
.device {
  position: relative;
  width: min(290px, 74vw);
  padding: 9px;
  border-radius: 36px;
  background: linear-gradient(165deg, #263450 0%, #121a2b 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.device::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  z-index: 2;
}

.device img {
  width: 100%;
  border-radius: 28px;
  background: var(--white);
}

/* ---------- Trusted institutions marquee ---------- */
.logo-marquee {
  --logo-h: clamp(4.75rem, 11vw, 7.25rem);
  --logo-w: clamp(8.75rem, 20vw, 13.5rem);
  --logo-gap: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(2rem, 4.5vw, 3.25rem) 0 clamp(2.35rem, 5vw, 3.5rem);
  background:
    linear-gradient(180deg, rgba(47, 98, 245, 0.035), transparent 60%),
    var(--paper);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.logo-marquee__head {
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 1.85rem);
}

.logo-marquee__label {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.6vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.logo-marquee__viewport {
  position: relative;
  overflow: hidden;
  padding-block: 0.25rem;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 5%,
    #000 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: logo-marquee-scroll 42s linear infinite;
  will-change: transform;
}

.logo-marquee__viewport:hover .logo-marquee__track,
.logo-marquee__viewport:focus-within .logo-marquee__track {
  animation-play-state: paused;
}

.logo-marquee__group {
  display: flex;
  align-items: center;
  gap: var(--logo-gap);
  list-style: none;
  margin: 0;
  padding: 0.5rem clamp(1.25rem, 3.5vw, 2.25rem);
}

.logo-marquee__item {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: var(--logo-w);
  height: calc(var(--logo-h) + 0.5rem);
}

.logo-marquee__item--wide {
  width: clamp(11rem, 26vw, 17rem);
}

.logo-marquee__item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--logo-h);
  object-fit: contain;
  filter: grayscale(0.08);
  opacity: 0.94;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.logo-marquee__item:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

@keyframes logo-marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 639px) {
  .logo-marquee {
    --logo-h: clamp(4.25rem, 18vw, 5.5rem);
    --logo-w: clamp(7.5rem, 34vw, 10rem);
    --logo-gap: clamp(1.75rem, 8vw, 2.75rem);
  }

  .logo-marquee__item--wide {
    width: clamp(9.5rem, 48vw, 13rem);
  }

  .logo-marquee__track {
    animation-duration: 32s;
  }
}

@media (min-width: 1024px) {
  .logo-marquee {
    --logo-h: clamp(6.25rem, 8vw, 8rem);
    --logo-w: clamp(11rem, 14vw, 14.5rem);
  }

  .logo-marquee__item--wide {
    width: clamp(14rem, 18vw, 18.5rem);
  }

  .logo-marquee__track {
    animation-duration: 48s;
  }
}

/* ---------- About / How it works ---------- */
.hero .about-stats {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(19, 28, 46, 0.08);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}

stat-card,
.stat-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 98, 245, 0.28);
}

.stat-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--white), rgba(47, 98, 245, 0.12));
  border: 1px solid rgba(47, 98, 245, 0.14);
  box-shadow: 0 8px 18px -14px rgba(47, 98, 245, 0.75);
  color: var(--brand);
  flex-shrink: 0;
}

.stat-card__icon .icon {
  width: 22px;
  height: 22px;
}

.stat-card__copy {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.stat-card__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
}

.stat-card__description {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}

.about-head {
  display: grid;
  gap: 1rem;
  max-width: 660px;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.about-showcase {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}

/* Paired product screens — one tight cluster, shared baseline */
.phone-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: start;
  max-width: 440px;
  margin-inline: auto;
}

.phone {
  margin: 0;
}

.phone .device {
  width: 100%;
  padding: 7px;
  border-radius: 28px;
}

.phone .device::after {
  top: 13px;
  width: 38px;
  height: 3px;
}

.phone .device img {
  border-radius: 22px;
}

.phone figcaption {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Numbered flow — counters keep this distinct from the icon grids elsewhere */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.4rem, 3vw, 2rem);
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: var(--brand-mist);
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
}

.step h3 {
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
}

.step p {
  margin: 0;
  font-size: 1.06rem;
}

/* Capability strip — one bordered region so it reads as a summary, not more cards */
.capabilities {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: clamp(2.75rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.capability {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  padding: 1.4rem 1.6rem;
  border-top: 1px solid var(--line);
}

.capability:first-child {
  border-top: 0;
}

.capability .icon {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 10px;
  border-radius: 12px;
  background: var(--brand-mist);
  color: var(--brand);
}

.capability h3 {
  margin: 0;
  font-size: 1.14rem;
}

.capability p {
  margin: 0;
  font-size: 1.02rem;
}

/* ---------- Industries ---------- */
.industry-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
  padding-top: 0.75rem;
}

.industry {
  position: relative;
  display: grid;
  gap: 0;
  padding: 1.65rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-sm);
  overflow: visible;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.industry-badge {
  position: absolute;
  top: -1.1rem;
  right: -0.85rem;
  width: clamp(4.5rem, 12vw, 5.75rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 18px;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 12px 22px rgba(19, 28, 46, 0.2));
  transition: transform 0.3s ease;
}

.industry-body {
  display: grid;
  gap: 0.75rem;
  padding-right: 3.25rem;
  min-height: 100%;
}

.industry .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.industry .icon-badge .icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 98, 245, 0.28);
}

.industry:hover .industry-badge {
  transform: translateY(-4px) scale(1.04);
}

.industry h3 {
  margin: 0;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.industry p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
}

.industry-tag {
  margin-top: auto;
  padding-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
}

.industry-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.industry-link:hover {
  color: var(--brand);
}

/* ---------- Projects & prototypes ---------- */
.projects-board {
  display: block;
}

.projects-board__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: start;
}

.projects-board__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.5rem 0.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.projects-board__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 98, 245, 0.28);
}

.projects-board__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.projects-board__card-head h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.projects-board__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.projects-board__badge.is-live {
  background: rgba(31, 157, 85, 0.12);
  color: #187a42;
}

.projects-board__badge.is-progress {
  background: var(--brand-mist);
  color: var(--brand);
}

.projects-board__badge.is-delivered {
  background: rgba(107, 119, 140, 0.14);
  color: #4f5d73;
}

.projects-board__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.projects-board__list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.projects-board__name {
  margin: 0 0 0.2rem;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.projects-board__detail {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}

.projects-board__tour {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding: 0.55rem 0.95rem;
  border-radius: 11px;
  border: 1px solid rgba(47, 98, 245, 0.22);
  background: linear-gradient(165deg, #ffffff 0%, #eef3ff 100%);
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 16px -10px rgba(47, 98, 245, 0.45);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.projects-board__tour .icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--brand);
}

.projects-board__tour:hover {
  background: linear-gradient(165deg, #ffffff 0%, #e4ecff 100%);
  border-color: rgba(47, 98, 245, 0.55);
  color: var(--brand-deep);
  box-shadow: 0 12px 24px -12px rgba(47, 98, 245, 0.55);
  transform: translateY(-1px);
}

/* ---------- Certifications page ---------- */
.cert-body {
  background:
    radial-gradient(ellipse 60% 45% at 15% 10%, rgba(47, 98, 245, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 30%, rgba(120, 165, 255, 0.12), transparent 50%),
    linear-gradient(180deg, #f4f7fc 0%, #eef3fb 45%, var(--paper) 100%);
}

.cert-page {
  padding: calc(var(--header-h) + 1.5rem) 0 2.75rem;
}

.cert-page__shell {
  display: grid;
  gap: 1.35rem;
}

.certifications-grid {
  display: block;
}

.cert-board {
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(19, 28, 46, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.cert-board__gallery {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

.cert-tile {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
}

.cert-tile__frame {
  position: relative;
  padding: 0.7rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc, #eef3fb);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cert-tile__frame::after {
  content: "Open PDF";
  position: absolute;
  inset: auto 0.75rem 0.75rem;
  justify-self: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.cert-tile:hover .cert-tile__frame,
.cert-tile:focus-visible .cert-tile__frame {
  transform: translateY(-3px);
  border-color: rgba(47, 98, 245, 0.35);
  box-shadow: var(--shadow);
}

.cert-tile:hover .cert-tile__frame::after,
.cert-tile:focus-visible .cert-tile__frame::after {
  opacity: 1;
  transform: translateY(0);
}

.cert-tile__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px -16px rgba(19, 28, 46, 0.45);
}

.cert-tile__caption {
  display: grid;
  gap: 0.2rem;
  text-align: center;
  padding: 0 0.25rem;
}

.cert-tile__caption strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.cert-tile__caption span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.35;
}

.cert-board__registry-wrap {
  margin: 1.15rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.cert-board__registry-label {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.cert-board__registry {
  list-style: none;
  margin: 0;
  padding: 0.65rem;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3fa 100%);
  border: 1px solid rgba(19, 28, 46, 0.07);
}

.cert-registry-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  min-width: 0;
  min-height: 76px;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(19, 28, 46, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.cert-registry-item__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 56px;
  padding: 0.35rem 0.4rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  flex-shrink: 0;
}

.cert-registry-item__mark img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cert-registry-item__copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.cert-registry-item__copy strong {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.cert-registry-item__copy span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
  word-break: break-word;
  font-variant-numeric: tabular-nums;
}

.cert-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Keep accessibility-banner styles if used elsewhere */
.accessibility-banner {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.accessibility-banner__inner {
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.5rem, 3.5vw, 2.35rem);
  align-items: center;
}

.accessibility-banner__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.accessibility-banner__heading {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
  color: var(--ink);
}

.accessibility-banner__quote {
  margin: 0 0 0.85rem;
  padding: 0 0 0 1rem;
  border-left: 3px solid var(--brand);
}

.accessibility-banner__quote p {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-2);
}

.accessibility-banner__meta {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 40rem;
}

.accessibility-banner__points {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.65rem 1.25rem;
  grid-template-columns: 1fr;
}

.accessibility-banner__points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.4;
}

.accessibility-banner__points .icon {
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  color: var(--brand);
}

.accessibility-banner__cta {
  width: fit-content;
}

.accessibility-banner__media {
  justify-self: center;
  max-width: 280px;
  width: 100%;
}

.accessibility-banner__media img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
  box-shadow: var(--shadow);
}

/* ---------- Accredited (compact trust bar) ---------- */
.accredited-bar {
  padding: clamp(2.4rem, 4.5vw, 3.25rem) 0;
  background:
    linear-gradient(180deg, rgba(47, 98, 245, 0.04), transparent 55%),
    var(--paper);
  border-block: 1px solid var(--line);
}

.accredited-bar__head {
  text-align: center;
  margin-bottom: 1.45rem;
}

.accredited-bar__head h2 {
  margin: 0 0 0.3rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.accredited-bar__head p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.accredited-bar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 720px;
  margin-inline: auto;
}

.accredited-bar__item {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 1.15rem 0.75rem 1.25rem;
  text-align: center;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.accredited-bar__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 98, 245, 0.24);
}

.accredited-bar__item img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 0;
  filter: grayscale(0.1);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.accredited-bar__item:hover img {
  filter: none;
  transform: scale(1.04);
}

.accredited-bar__name {
  margin-top: 0.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.accredited-bar__meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

@media (max-width: 639px) {
  :root {
    --container: min(1180px, calc(100% - 1.5rem));
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .tour-feature__play {
    bottom: 0.75rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.84rem;
  }

  .tour-gallery {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.15rem;
    padding-bottom: 0.45rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .tour-gallery__item {
    flex: 0 0 82%;
    width: 82%;
    scroll-snap-align: start;
  }

  .projects-board__tour {
    max-width: 100%;
  }

  .accredited-bar__list {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .accredited-bar__item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    justify-items: start;
    text-align: left;
    align-items: center;
    padding: 0.85rem 1rem;
  }

  .accredited-bar__item img {
    grid-row: 1 / span 2;
    width: 72px;
    height: 72px;
  }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: start;
}

.plan {
  display: grid;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.plan.featured {
  border-color: rgba(47, 98, 245, 0.32);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(47, 98, 245, 0.05), transparent 30%), var(--white);
}

.plan-label {
  display: inline-block;
  width: fit-content;
  padding: 0.3rem 0.7rem;
  border-radius: 99px;
  background: var(--brand-mist);
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.plan h3 {
  margin: 0;
  font-size: 1.58rem;
}

.plan-for {
  margin: 0;
  font-size: 1.03rem;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  margin: 0.35rem 0 0.75rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.plan li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 1.04rem;
  color: var(--ink-2);
}

.plan li .icon {
  width: 21px;
  height: 21px;
  margin-top: 0.22rem;
  color: var(--brand);
}

.btn .icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

/* Only the directional arrows should slide */
.btn:hover .icon:not(.icon-solid) {
  transform: translateX(3px);
}

.plan .btn {
  width: 100%;
}

.pricing-note {
  margin: 1.75rem auto 0;
  text-align: center;
  font-size: 1.05rem;
  max-width: 36rem;
}

.pricing-note a {
  color: var(--brand);
  font-weight: 600;
}

.pricing-drivers {
  margin: 1rem auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: 0.98rem;
  color: var(--muted, #5b6475);
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0 1.15rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 500;
  color: var(--brand);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1.05rem;
  color: var(--muted, #5b6475);
  line-height: 1.6;
}

.faq-item a {
  color: var(--brand);
  font-weight: 600;
}

/* ---------- Content / pillar pages ---------- */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 1.25rem;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  line-height: 1.12;
  max-width: 18ch;
}

.content-prose {
  display: grid;
  gap: 1.35rem;
  max-width: 46rem;
}

/* Pillar pages: less empty band between last CTA and footer */
.section:has(.content-prose) {
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.content-prose h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin-top: 0.5rem;
}

.content-prose h3 {
  font-size: 1.15rem;
  margin-top: 0.25rem;
}

.content-prose p,
.content-prose li {
  color: var(--muted, #5b6475);
  line-height: 1.65;
  font-size: 1.05rem;
}

.content-prose ul,
.content-prose ol {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

/* Exclude .btn — otherwise brand link color paints primary CTAs blue-on-blue */
.content-prose a:not(.btn) {
  color: var(--brand);
  font-weight: 600;
}

.content-prose a.btn-primary,
.content-prose a.btn-primary:hover {
  color: var(--white);
}

.content-prose a.btn-secondary {
  color: var(--ink);
  font-weight: 600;
}

.content-prose a.btn-secondary:hover {
  color: var(--brand);
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  margin: 0.5rem 0 1rem;
}

.fact-table th,
.fact-table td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.fact-table th {
  font-weight: 600;
  color: var(--ink);
  width: 38%;
}

.fact-table td {
  color: var(--muted, #5b6475);
}

.cred-block {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.cred-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  background: #fff;
}

.cred-card h2 {
  font-size: 1.25rem;
  margin: 0 0 0.45rem;
}

.cred-card p {
  margin: 0 0 0.65rem;
  color: var(--muted, #5b6475);
  line-height: 1.6;
}

.cred-card a {
  font-weight: 600;
  color: var(--brand);
}

.research-finding {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}

.research-finding h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.research-finding p {
  margin: 0 0 0.55rem;
}

.research-finding a {
  font-weight: 600;
  color: var(--brand);
}

/* ---------- Virtual tour ---------- */
.tour-feature {
  display: grid;
  gap: clamp(2rem, 4.5vw, 3.25rem);
  align-items: center;
}

.tour-feature__copy,
.tour-feature__media {
  min-width: 0;
}

.tour-feature__copy {
  max-width: 34rem;
}

.tour-feature__copy .lead {
  margin-bottom: 1.35rem;
}

.tour-feature__points {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.tour-feature__points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 1.04rem;
  color: var(--ink-2);
  line-height: 1.45;
}

.tour-feature__points .icon {
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  color: var(--brand);
}

.tour-feature__copy .cta-row {
  margin-top: 0;
}

.tour-feature__note {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.tour-feature__media {
  margin: 0;
  width: 100%;
}

.tour-feature__frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: #1a2336;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tour-feature__frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 494;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, opacity 0.25s ease;
}

.tour-feature__play {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 99px;
  background: rgba(19, 28, 46, 0.78);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.55);
  transition: background 0.2s ease, transform 0.2s ease;
}

.tour-feature__play .icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tour-feature__frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 34px 70px -28px rgba(19, 28, 46, 0.5);
}

.tour-feature__frame:hover img {
  transform: scale(1.02);
}

.tour-feature__frame:hover .tour-feature__play {
  background: var(--brand);
  transform: translateX(-50%) translateY(-1px);
}

.tour-feature__media figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}

.tour-gallery {
  display: grid;
  gap: 0.85rem;
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
  grid-template-columns: 1fr;
}

.tour-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #1a2336;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-width: 0;
}

.tour-gallery__item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1024 / 494;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.tour-gallery__item span {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  max-width: calc(100% - 1.4rem);
  padding: 0.32rem 0.65rem;
  border-radius: 8px;
  background: rgba(19, 28, 46, 0.78);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  backdrop-filter: blur(8px);
}

.tour-gallery__item:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 98, 245, 0.28);
  box-shadow: var(--shadow);
}

.tour-gallery__item:hover img {
  transform: scale(1.03);
}

/* ---------- Media coverage ---------- */
.media-feature {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

.media-feature__clipping {
  margin: 0;
}

.media-feature__frame {
  padding: 0.7rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-feature__frame img {
  width: 100%;
  border-radius: 12px;
  background: var(--soft);
}

.media-feature__clipping figcaption {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.media-feature__body {
  display: grid;
  gap: 1.05rem;
  max-width: 34rem;
}

.media-feature__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin: 0;
}

.media-feature__outlet {
  width: min(148px, 48%);
  height: auto;
}

.media-feature__kicker span {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 99px;
  background: var(--brand-mist);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.media-feature__body blockquote {
  margin: 0;
  padding: 0.15rem 0 0.15rem 1.1rem;
  border-left: 3px solid var(--brand);
}

.media-feature__body blockquote p {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ink);
}

.media-feature__body cite {
  display: block;
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
}

.media-feature__summary {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
}

.media-feature__points {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.media-feature__points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--ink-2);
  font-size: 1.03rem;
}

.media-feature__points .icon {
  width: 21px;
  height: 21px;
  margin-top: 0.2rem;
  color: var(--brand);
}

.media-more {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
}

.media-more__heading {
  margin: 0 0 1.25rem;
  font-size: 1.28rem;
  font-weight: 600;
}

.media-more__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.media-more__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.media-more__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 98, 245, 0.28);
}

.media-more__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--white), rgba(47, 98, 245, 0.1));
  border: 1px solid rgba(47, 98, 245, 0.12);
  box-shadow: 0 8px 18px -14px rgba(47, 98, 245, 0.75);
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.media-more__card h4 {
  margin: 0 0 0.35rem;
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--ink);
}

.media-more__card p {
  margin: 0 0 0.55rem;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.5;
}

.media-more__meta {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  gap: 2rem;
}

.contact-list {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.contact-list strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.contact-list a {
  color: var(--brand);
  font-weight: 600;
}

.contact-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 0.85rem 1rem;
  font-size: 1.02rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--brand-mist);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #e9f0fa;
  padding: clamp(3.5rem, 7vw, 5rem) 0 0;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.footer-brand img {
  height: 36px;
  width: auto;
}

.footer-brand p {
  max-width: 19rem;
  margin: 0.9rem 0 1rem;
  font-size: 1.02rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0 0 0.85rem;
  line-height: 1.3;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.55rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 1.02rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--brand);
}

.social-link {
  display: inline-flex;
  color: var(--muted);
  transition: color 0.2s ease;
}

.social-link svg {
  width: 26px;
  height: 26px;
}

.social-link:hover {
  color: var(--brand);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  font-size: 0.98rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.footer-shape.left {
  left: 0;
  top: 0;
}

.footer-shape.right {
  right: 0;
  bottom: 0;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  display: none;
  place-items: center;
  cursor: pointer;
  z-index: 40;
  box-shadow: var(--shadow);
}

.back-top.is-visible {
  display: grid;
}

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-1 {
  transition-delay: 0.08s;
}

.reveal-2 {
  transition-delay: 0.16s;
}

.reveal-3 {
  transition-delay: 0.24s;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capabilities {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
  }

  .projects-board__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .accessibility-banner__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cert-board__gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .cert-board__registry {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    padding: 0.75rem;
  }

  .cert-registry-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.6rem;
    min-height: 0;
    padding: 0.95rem 0.75rem 1rem;
  }

  .cert-registry-item__mark {
    width: 100%;
    max-width: 128px;
    height: 70px;
  }

  .cert-registry-item__copy strong {
    font-size: 0.9rem;
  }

  .cert-registry-item__copy span {
    font-size: 0.76rem;
  }

  .media-more__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 900px) {
  .industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 1.35rem;
    padding-top: 1.1rem;
  }

  .industry {
    padding: 1.75rem 1.55rem 1.55rem;
  }

  .industry-body {
    padding-right: 3.5rem;
  }

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

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

  .tour-feature {
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.2fr);
    gap: clamp(2.25rem, 4.5vw, 3.5rem);
  }

  .tour-gallery {
    gap: 1rem;
  }

  .media-feature {
    grid-template-columns: minmax(260px, 0.95fr) 1.05fr;
    gap: clamp(2rem, 4vw, 3.25rem);
  }

  .media-more__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .capabilities {
    grid-template-columns: repeat(4, 1fr);
  }

  .capability {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .capability:first-child {
    border-left: 0;
  }

  .accessibility-banner__inner {
    grid-template-columns: 1.3fr 0.9fr;
    gap: 2rem;
    padding: 2.35rem 2.5rem;
  }

  .accessibility-banner__media {
    max-width: 300px;
    justify-self: end;
  }

  .cert-page {
    padding: calc(var(--header-h) + 2rem) 0 3rem;
  }

  .cert-board {
    padding: 1.5rem;
  }

  .cert-tile__frame {
    aspect-ratio: 4 / 5;
  }
}

@media (min-width: 960px) {
  .nav-links,
  .header-inner .nav-cta {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .about-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .hero-inner {
    grid-template-columns: 1.6fr minmax(320px, 1fr);
    align-items: center;
  }

  /* Fill the column instead of floating a narrow card at the far edge */
  .hero-media {
    justify-self: end;
    width: 100%;
    max-width: 460px;
  }

  /* A narrow column needs the taller native crop to hold its own beside the copy */
  .hero-media-frame video {
    aspect-ratio: 720 / 1040;
  }

  .about-showcase {
    grid-template-columns: 1.05fr 0.95fr;
  }

  /* Let the pair fill its column so it lines up under the heading */
  .phone-duo {
    max-width: none;
    margin-inline: 0;
  }

  .contact-layout {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

/* Wide enough for the media column to carry the shorter, calmer crop */
@media (min-width: 1200px) {
  .hero-media-frame video {
    aspect-ratio: 4 / 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .industry,
  .stat-card,
  .projects-board__card,
  .media-more__card,
  .cert-tile,
  .accredited-bar__item,
  .tour-feature__frame,
  .tour-gallery__item,
  .hero-copy > *,
  .hero-media,
  .logo-marquee__track {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }

  .logo-marquee__viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .logo-marquee__track {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .logo-marquee__group[aria-hidden="true"] {
    display: none;
  }
}
