/* ridervo.com: the 2016 layout (centered logo, uppercase menu, road backdrop, featured-work grid, Open Sans)
   in a modern finish: glass surfaces over a fixed backdrop, one radius scale, pill controls. */
@import url("../fonts/fonts.css");

/* ---------------------------------------------------------------- design tokens */
:root {
  /* the radius scale: every corner on the site uses one of these. A piece set inside a surface with
     about 12px of padding takes the step below the surface (lg 20 - 12 = sm 8), so curves stay parallel. */
  --radius-sm: 8px;      /* inner pieces: player art, menu rows, progress bar */
  --radius-md: 12px;     /* media and small controls: thumbnails, photos, menu toggle */
  --radius-lg: 20px;     /* surfaces: cards, widgets, player, lightbox, off-canvas menu */
  --radius-pill: 999px;  /* buttons, chips, social icons, menu links */

  --blue: #3179be;
  --blue-bright: #5aa6f0;
  --text: #ededed;
  --text-soft: #c9ced8;
  --muted: #9aa1ad;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .24);
  --glass: rgba(16, 20, 30, .58);
  --glass-tint: rgba(255, 255, 255, .06);
  --glass-hover: rgba(255, 255, 255, .12);
  --glass-blur: blur(18px) saturate(150%);
  --shadow: 0 14px 34px rgba(0, 0, 0, .32);
  --edge: inset 0 1px 0 rgba(255, 255, 255, .09);   /* the lit top edge of a glass pane */
}

/* ---------------------------------------------------------------- base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #0b0f18;
  color: #ffffff;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: #ededed; text-decoration: none; transition: color .15s; }
a:hover { color: #ffffff; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
h1, h2, h3, h4 { font-weight: 600; color: #ffffff; margin: 0 0 10px; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: 30px; } h2 { font-size: 22px; } h3 { font-size: 17.5px; }
strong, b { font-weight: 700; color: #ffffff; }
p { margin: 0 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }

/* bootstrap 3 container widths, as in 2016 */
.container { width: 100%; margin: 0 auto; padding: 0 15px; }
@media (min-width: 768px) { .container { width: 750px; } }
@media (min-width: 992px) { .container { width: 970px; } }
@media (min-width: 1200px) { .container { width: 1170px; } }

/* the 2016 road photo, now a fixed full-bleed backdrop the glass panes blur over; shaded so text stays readable */
#body-wrap { position: relative; isolation: isolate; min-height: 100vh; display: flex; flex-direction: column; }
#body-wrap::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 11, 19, .5), rgba(8, 11, 19, .62) 55%, rgba(8, 11, 19, .86)),
              #1a2233 url("../img/road-2016.jpg") center top / cover no-repeat;
}
#body { flex: 1; }
#content { margin: 34px 0 40px; }

/* ---------------------------------------------------------------- glass surfaces: one recipe for every panel */
#sidebar .widget, .rep-card, .player-widget, #off-canvas {
  background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow), var(--edge);
}

/* buttons: glass pills that fill white on hover */
button, .readmore, .rep-call {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 6px 18px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--glass-tint); color: var(--text);
  font: inherit; font-size: 15px; line-height: 24px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
button:hover, .readmore:hover, .rep-call:hover { background: #ffffff; border-color: #ffffff; color: #0a0a0a; }

/* ---------------------------------------------------------------- header */
header.dark-div { position: relative; z-index: 1000; }
#top-nav .navbar {
  background: rgba(9, 12, 19, .72); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.navbar-header { height: 76px; display: flex; align-items: center; justify-content: center; position: relative; }
.navbar-header .logo { display: block; line-height: 0; }
.navbar-header .logo img { width: 222px; height: 56px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .5)); }
.site-title { margin: 0; font-size: inherit; line-height: 0; }
.main-menu { padding: 0 0 12px; text-align: center; }
.nav-ul-menu { list-style: none; margin: 0; padding: 0; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.nav-ul-menu > li > a {
  display: block; padding: 7px 14px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500;
  letter-spacing: .06em; line-height: 20px; text-transform: uppercase; color: #e2e5ea; transition: background-color .2s, color .2s;
}
.nav-ul-menu > li > a:hover { background: var(--glass-hover); color: #ffffff; }
.nav-ul-menu > li.current-menu-item > a { background: rgba(49, 121, 190, .3); color: #ffffff; box-shadow: inset 0 0 0 1px rgba(90, 166, 240, .5); }
/* tablets: keep the nine items on one line in the 750px container */
@media (min-width: 768px) and (max-width: 991px) { .nav-ul-menu { gap: 2px; } .nav-ul-menu > li > a { padding: 7px 8px; font-size: 13px; letter-spacing: .03em; } }
.navbar-toggle { display: none; }

/* off-canvas menu (small screens): a floating glass sheet */
#off-canvas {
  position: fixed; top: 10px; bottom: 10px; left: 10px; width: 260px; overflow: hidden; background: rgba(14, 18, 27, .86);
  transform: translate3d(calc(-100% - 20px), 0, 0); visibility: hidden; z-index: -1;
  transition: transform .4s cubic-bezier(.25, .8, .25, 1), visibility 0s ease .5s, z-index 0s ease .5s;
}
body.mnopen #off-canvas { transform: translate3d(0, 0, 0); overflow: auto; visibility: visible; z-index: 9999; transition: transform .4s cubic-bezier(.25, .8, .25, 1), visibility 0s, z-index 0s; }
.off-canvas-inner { padding: 12px 12px 30px; color: #fff; }
.off-canvas-inner ul { list-style: none; margin: 0; padding: 0; }
.off-canvas-inner li + li { margin-top: 2px; }
.off-canvas-inner li a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text-soft);
  font-size: 15px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; transition: background-color .2s, color .2s;
}
.off-canvas-inner li a::before { content: ""; display: inline-block; width: 5px; height: 9px; margin: 0 10px 0 0; vertical-align: 0; background: var(--blue-bright); clip-path: polygon(0 0, 100% 50%, 0 100%, 0 78%, 60% 50%, 0 22%); }
.off-canvas-inner li a:hover { background: var(--glass-hover); color: #fff; }
.off-canvas-inner li.current-menu-item a { background: rgba(49, 121, 190, .3); color: #fff; }
.off-canvas-inner li.canvas-close { margin-bottom: 8px; }
.off-canvas-inner li.canvas-close a { text-align: center; border: 1px solid var(--line); border-radius: var(--radius-pill); letter-spacing: .08em; font-size: 13px; padding: 8px 14px; }
.off-canvas-inner li.canvas-close a::before { display: none; }
.wrap-overlay { display: none; }
body.mnopen .wrap-overlay { display: block; position: fixed; inset: 0; z-index: 1001; background: rgba(4, 6, 10, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }

/* go to top */
#gototop {
  position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: var(--radius-pill); z-index: 9999;
  display: grid; place-items: center; color: #fff; background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow); opacity: 1; transition: all .25s ease-in;
}
#gototop svg { width: 14px; height: 9px; }
#gototop:hover { background: #fff; color: #000; }
#gototop.notshow { bottom: -50px; opacity: 0; transition: all .5s ease-in; }

/* ---------------------------------------------------------------- home: the opening film */
/* the header floats over the film (fixed on phones, where it stays at the top as everywhere else) */
.home header.dark-div { position: absolute; top: 0; left: 0; right: 0; }
.home #top-nav .navbar { background: rgba(9, 12, 19, .42); }
.hero { position: relative; isolation: isolate; height: clamp(620px, 94svh, 1040px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-media {   /* the film fades out at its foot into the page's own backdrop */
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent);
}
.hero-film { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after {   /* shade under the words: rising from the foot, deepest behind the centered lines, a little under the header */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 70%, rgba(8, 11, 19, .5), rgba(8, 11, 19, 0) 75%),
              linear-gradient(0deg, rgba(8, 11, 19, .92) 0%, rgba(8, 11, 19, .5) 38%, rgba(8, 11, 19, .1) 70%, rgba(8, 11, 19, .45) 100%);
}
.hero-inner { padding-bottom: 44px; text-align: center; }
.hero-title { font-size: clamp(56px, 7.4vw, 104px); font-weight: 700; line-height: .98; letter-spacing: -.035em; margin: 0; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-clients { margin: 22px 0 0; color: var(--text-soft); font-size: 16px; letter-spacing: .01em; }
.hero-clients span { white-space: nowrap; }
.hero-clients .sep { color: var(--blue-bright); font-weight: 600; margin: 0 6px; }
.split-narrow { display: none; }

/* ---------------------------------------------------------------- smart box (carousel / listing) */
.smart-box { margin-bottom: 36px; }
.smart-box-head {
  display: flex; align-items: center; gap: 12px; padding: 0 0 12px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.smart-box-head.bare { border-bottom: 0; padding: 0; margin-bottom: 14px; justify-content: flex-end; }   /* controls only, no heading */
.home #content { margin-top: 0; }
.light-title { font-size: 22px; line-height: 1.2; color: #ffffff; margin: 0; font-weight: 600; letter-spacing: -.01em; }
.light-title a { color: inherit; }
.smart-control { margin-left: auto; display: flex; gap: 6px; white-space: nowrap; }
.smart-control a, .smart-control button {
  display: inline-flex; align-items: center; justify-content: center; height: 34px; min-width: 34px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--glass-tint); color: var(--text);
  font-size: 14px; line-height: 1; transition: background-color .2s, border-color .2s, color .2s;
}
.smart-control button { padding: 0; width: 34px; }
.smart-control a:hover, .smart-control button:hover { background: #ffffff; border-color: #ffffff; color: #0a0a0a; }
.smart-control button svg { display: block; width: 7px; height: 11px; }

.carousel-viewport { overflow: hidden; margin: -10px 0; padding: 10px 0; }   /* room for the thumbnail shadows */
.carousel-track { display: flex; transition: transform .45s cubic-bezier(.25, .8, .25, 1); }
.carousel-page { flex: 0 0 100%; min-width: 100%; }

.video-row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.video-col { width: 25%; padding: 0 8px; margin-bottom: 18px; }
@media (max-width: 991px) { .video-col { width: 50%; } }

.video-item { margin-bottom: 6px; }
.item-thumbnail {
  position: relative; display: block; width: 100%; height: 0; padding-top: 56.25%; overflow: hidden; isolation: isolate;
  background: #111; border-radius: var(--radius-md); box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}
.item-thumbnail img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.25, .8, .25, 1); }
.item-thumbnail:hover img { transform: scale(1.05); }
.link-overlay { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); background: rgba(0, 0, 0, 0); transition: background-color .25s ease; }
.link-overlay::before {   /* a frosted glass play button */
  content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .16) no-repeat 55% 50% / 16px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 1l11 6-11 6z' fill='%23ffffff'/%3E%3C/svg%3E");
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 6px 16px rgba(0, 0, 0, .3);
  transform: scale(.8); opacity: 0; transition: all .25s ease;
}
.item-thumbnail:hover .link-overlay, .item-thumbnail:focus-visible .link-overlay { background: rgba(8, 11, 19, .35); }
.item-thumbnail:hover .link-overlay::before, .item-thumbnail:focus-visible .link-overlay::before { transform: scale(1); opacity: 1; }
.item-head { padding-top: 10px; color: var(--muted); }
/* 2016 cut long titles to one line; two lines keep them readable in narrow columns */
.item-head h3 {
  font-size: 15px; font-weight: 500; line-height: 22px; letter-spacing: 0; margin: 0; color: #ffffff; overflow: hidden;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}
.item-head h3 a { color: #ffffff; }
.item-head h3 a:hover { color: var(--blue-bright); }

/* ---------------------------------------------------------------- page content */
.content-single { line-height: 1.8; }
.content-single p { line-height: 27.2px; }

/* demos: the player widget, a dark glass panel */
.player-widget { color: var(--text); font-size: 13px; line-height: 1.4; margin-bottom: 30px; overflow: hidden; }
.player-widget .pw-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.player-widget .pw-big {
  width: 40px; height: 40px; flex: none; padding: 0; border: 0; border-radius: var(--radius-pill);
  background: var(--blue); display: grid; place-items: center; transition: background-color .2s;
}
.player-widget .pw-big:hover { background: #3a86d0; }
.player-widget .pw-big svg { width: 16px; height: 16px; fill: #fff; margin-left: 1px; }
.player-widget .pw-names { flex: 0 1 auto; min-width: 0; }
.player-widget .pw-user { color: var(--muted); font-size: 12px; }
.player-widget .pw-title { font-size: 17px; font-weight: 600; color: #ffffff; }
.player-widget ol { list-style: none; margin: 0; padding: 6px 8px; }
.player-widget li { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; padding: 0 10px; border-radius: var(--radius-sm); cursor: pointer; transition: background-color .15s; }
.player-widget li > span { line-height: 38px; }
.player-widget li:hover { background: rgba(255, 255, 255, .06); }
.player-widget li .n { color: var(--muted); width: 18px; }
.player-widget li .t { flex: 1; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.player-widget li .d { color: var(--muted); font-variant-numeric: tabular-nums; }
.player-widget li.is-active { background: rgba(49, 121, 190, .22); }
.player-widget li.is-active .t { color: #9ccfff; }
/* the selected track opens up: play and pause, then its waveform, filling as it plays; click the waveform to jump */
.player-widget .pw-track { flex-basis: 100%; display: flex; align-items: center; gap: 12px; padding: 2px 0 12px; cursor: default; }
.player-widget .pw-track[hidden] { display: none; }
.player-widget .pw-wave { flex: 1; min-width: 0; height: 40px; cursor: pointer; }
.player-widget .pw-foot { padding: 8px 20px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* about: Studio and Credits as drop-down glass panels at the foot of the page */
.folds { display: grid; gap: 14px; margin-top: 36px; }
.fold { background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow), var(--edge); overflow: hidden; }
.fold summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; cursor: pointer; list-style: none; transition: background-color .2s; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary:hover { background: rgba(255, 255, 255, .04); }
.fold summary h2 { font-size: 20px; margin: 0; }
.fold summary svg { width: 8px; height: 13px; color: var(--muted); transform: rotate(90deg); transition: transform .25s ease; }
.fold[open] summary svg { transform: rotate(-90deg); }
.fold-body { padding: 4px 24px 26px; }
.studio-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.studio-strip figure { margin: 0; }
.studio-strip img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-md); }
.studio-strip figcaption { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--text-soft); }
.credit-columns { columns: 2 340px; column-gap: 40px; }
.credit-group { break-inside: avoid; margin: 0 0 22px; }
.credit-group h3 { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--blue-bright); margin: 0 0 8px; }
.credit-group ul { list-style: none; margin: 0; padding: 0; }
.credit-group li { font-size: 14px; line-height: 1.55; color: var(--text-soft); padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.credit-group li:last-child { border-bottom: 0; }
@media (max-width: 991px) { .studio-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fold summary { padding: 16px 18px; } .fold-body { padding: 2px 18px 20px; } .studio-strip { gap: 12px; } }

/* blog layout (coaching), sidebar widgets */
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-8 { width: 66.666%; padding: 0 15px; }
.col-4 { width: 33.333%; padding: 0 15px; }
@media (max-width: 991px) { .col-8, .col-4 { width: 100%; } }
.blog-item { display: flex; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.blog-item:first-of-type { padding-top: 10px; }
.blog-item:last-of-type { border-bottom: 0; }
.blog-item .item-thumbnail { width: calc(50% - 15px); flex: none; align-self: flex-start; height: auto; padding-top: 0; aspect-ratio: 3 / 2; }
.blog-item .item-thumbnail img { object-position: 50% 25%; }
.blog-item .item-body { width: calc(50% - 15px); min-width: 0; }
.blog-item .item-head { padding: 0; }
.blog-item .item-head h3 { font-size: 19px; font-weight: 600; line-height: 1.3; display: block; }
.blog-meta { color: var(--blue-bright); font-size: 13px; font-weight: 600; letter-spacing: .02em; margin: 8px 0 0; }
.blog-item .excerpt { margin: 12px 0 0; line-height: 25.6px; color: var(--text-soft); }
.readmore { margin: 18px 0 0; padding: 4px 16px; font-size: 14px; }
.readmore svg { width: 6px; height: 10px; }
@media (max-width: 767px) { .blog-item { flex-direction: column; gap: 16px; } .blog-item .item-thumbnail, .blog-item .item-body { width: 100%; } }
#sidebar .widget { padding: 24px 26px 16px; margin: 0 0 30px; }
#sidebar .widget-title { font-size: 19px; line-height: 1.25; color: #ffffff; margin: 0 0 16px; }
#sidebar ul { list-style: none; margin: 0; padding: 0; }
#sidebar li { font-size: 15px; line-height: 30px; padding-left: 14px; position: relative; color: var(--text-soft); }
#sidebar li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--blue-bright); }
#sidebar p { font-size: 15px; line-height: 1.6; color: var(--text-soft); }
.tel { white-space: nowrap; }

/* contact: one glass card per agency */
.rep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.rep-card { display: flex; flex-direction: column; padding: 26px 28px 24px; }
.rep-card h2 { font-size: 21px; line-height: 1.2; margin: 0; }
.rep-city { color: var(--blue-bright); font-size: 14px; font-weight: 600; margin: 4px 0 0; }
.rep-call { align-self: flex-start; gap: 10px; margin: 18px 0 20px; padding: 8px 18px; font-size: 17px; }
.rep-call svg { width: 16px; height: 16px; }
.rep-card dl { margin: 0; }
.rep-card dt { color: var(--muted); font-size: 13px; line-height: 1.5; }
.rep-card dd { margin: 2px 0 14px; font-size: 15px; line-height: 1.6; }
.rep-card dt:last-of-type:not(:has(+ dd)) { color: var(--text); font-size: 15px; }
.rep-link { margin-top: auto; padding-top: 10px; color: var(--text-soft); font-size: 14px; }
.rep-link svg { width: 6px; height: 10px; margin-left: 6px; }
.rep-link:hover { color: var(--blue-bright); }
@media (max-width: 480px) { .rep-card { padding: 22px 20px 20px; } .rep-grid { gap: 16px; } }

/* ---------------------------------------------------------------- footer, with the social links */
#bottom-nav {
  padding: 26px 0; color: var(--muted); background: rgba(6, 8, 14, .78);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-top: 1px solid var(--line);
}
#bottom-nav .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
#bottom-nav .copyright { font-size: 14px; }
.social-links { display: flex; gap: 8px; order: 2; }
.social-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-pill);
  background: var(--glass-tint); border: 1px solid var(--line); color: #f7f7f7; transition: background-color .2s, border-color .2s, color .2s;
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover { background: #ffffff; border-color: #ffffff; color: #000; }

/* ---------------------------------------------------------------- video lightbox */
dialog.lightbox {
  border: 1px solid var(--line); padding: 0; background: #000; width: min(1000px, 94vw); max-width: none;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
dialog.lightbox::backdrop { background: rgba(4, 6, 10, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox .frame { position: relative; aspect-ratio: 16 / 9; }
.lightbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox .lb-bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; background: #0b0f18; padding: 14px 14px 16px 20px; color: var(--text); }
.lightbox .lb-title { font-size: 16px; font-weight: 600; color: #ffffff; }
.lightbox .lb-about { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-soft); max-width: 70ch; }
.lightbox .lb-about:empty { display: none; }
.lightbox .close { flex: none; padding: 3px 14px; font-size: 13px; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 767px) {
  header.dark-div { position: sticky; top: 0; }   /* the glass bar stays put so the menu is one tap away */
  /* the toggle sits on the content edge; equal side padding keeps the logo centered and clear of it */
  .navbar-header { height: 70px; padding: 0 56px; }
  .navbar-header .logo img { max-width: 100%; height: auto; }
  /* just the three lines: no border or fill, on a full-size tap area aligned to the content edge */
  .navbar-toggle {
    display: grid; place-items: center start; position: absolute; left: 0; top: 50%; width: 44px; height: 44px; margin: -22px 0 0; padding: 0;
    background: transparent; border: 0; border-radius: var(--radius-md); color: #e2e5ea;
  }
  .navbar-toggle svg { width: 20px; height: 14px; }
  .navbar-toggle:hover { background: transparent; color: #ffffff; }
  .main-menu { display: none; }
  #bottom-nav { padding-bottom: 76px; }   /* clear of the go-to-top button at the end of the page */
  #bottom-nav .container { flex-direction: column; text-align: center; }
  .social-links { order: 0; }
  .home header.dark-div { position: fixed; }
  .hero { height: auto; min-height: 88svh; padding-top: 90px; }
  .hero-media::after { background: linear-gradient(0deg, rgba(8, 11, 19, .95) 0%, rgba(8, 11, 19, .6) 45%, rgba(8, 11, 19, .2) 75%, rgba(8, 11, 19, .5) 100%); }
  /* the longest line, "billion-dollar", is 5.9 em wide: size the headline so it nearly fills the phone's width */
  .hero-title { font-size: min(calc((100vw - 30px) / 6.05), 96px); }
  .hero-clients { font-size: 14px; margin-top: 16px; line-height: 1.8; }
  .hero-clients .sep-wide { display: none; }
  .split-narrow { display: inline; }
  .hero-inner { padding-bottom: 40px; }
}
@media (max-width: 480px) {
  .light-title { font-size: 20px; }
  .item-head h3 { -webkit-line-clamp: 3; line-clamp: 3; }   /* half-width columns: room for the longest titles */
  .smart-control a, .smart-control button { height: 40px; min-width: 40px; }
  .smart-control button { width: 40px; }
}
