/*
 * site.css
 * Shared design system for levinsoncapital.com, loaded after theme.css.
 */

:root {
  --ink: #0b1c36;
  --navy: #0d295c;
  --text: #5b6472;
  --soft: #f4f5f7;
  --line: rgba(11,28,54,0.12);
  --line-light: rgba(255,255,255,0.18);
  --gutter: 1.5rem;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (min-width: 768px){
  :root {
    --gutter: 3rem;
  }
}

/* Base */

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1, .h1, .display-4 {
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
h2, .h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}
h3, .h3 {
  font-size: 1.6rem;
}
p {
  line-height: 1.65;
}
.lead {
  max-width: 760px;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
}
a {
  font-weight: inherit;
  color: var(--ink);
}
a:hover {
  color: var(--navy);
  text-decoration: none;
}

/* Layout */

.container {
  max-width: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section {
  padding: 7rem 0;
}
.section-soft {
  background: var(--soft);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}
.section-head h2 {
  margin-bottom: 0;
}
.section-head .link-arrow {
  margin-top: 1.5rem;
}
@media (max-width: 767px){
  .section {
    padding: 4.5rem 0;
  }
}

/* Eyebrow labels */

.eyebrow {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.eyebrow-dark {
  color: var(--navy);
}

/* Buttons and links */

.btn {
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border-radius: 0;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-arrow:after,
.link-arrow:after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.65rem;
  transition: transform 0.25s ease;
}
.btn-arrow:hover:after,
.link-arrow:hover:after {
  transform: translateX(4px);
}
.btn-light {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ink);
}
.btn-light:hover,
.btn-light:focus {
  background: #e6ebf2;
  border-color: #e6ebf2;
  color: var(--ink);
}
.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}
.btn-dark:hover,
.btn-dark:focus {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}
.btn-outline-light {
  border-color: rgba(255,255,255,0.45);
  color: #ffffff;
}
.btn-outline-light:hover,
.btn-outline-light:focus {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ink);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  padding-bottom: 4px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}
.link-arrow:hover {
  color: var(--navy);
}
.link-arrow-light,
.link-arrow-light:hover {
  color: #ffffff;
}

/* Navigation */

.site-nav {
  padding: 1.5rem 0;
  background: transparent;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-nav > .container {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.site-nav .navbar-brand {
  padding: 0;
}
.site-nav .navbar-brand img {
  display: block;
}
.site-nav .navbar-brand .logo-dark {
  display: none;
}
.site-nav .nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: #ffffff;
}
.site-nav .btn-nav {
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.5);
  color: #ffffff;
}
.site-nav .btn-nav:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ink);
}
.site-nav .navbar-toggler {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  color: #ffffff;
}
.site-nav .navbar-toggler:focus {
  outline: none;
}
.site-nav .navbar-toggler:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.site-nav .navbar-toggler span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease;
}
.site-nav .navbar-toggler span + span {
  margin-top: 7px;
}
.site-nav .navbar-toggler[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}
.site-nav .navbar-toggler[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}
.site-nav.is-solid {
  padding: 0.9rem 0;
  background: #ffffff;
  box-shadow: 0 1px 0 var(--line);
}
.site-nav.is-solid .navbar-brand .logo-light {
  display: none;
}
.site-nav.is-solid .navbar-brand .logo-dark {
  display: block;
}
.site-nav.is-solid .nav-link {
  color: var(--text);
}
.site-nav.is-solid .nav-link:hover,
.site-nav.is-solid .nav-link.active {
  color: var(--ink);
}
.site-nav.is-solid .btn-nav {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}
.site-nav.is-solid .btn-nav:hover {
  background: var(--navy);
  border-color: var(--navy);
}
.site-nav.is-solid .navbar-toggler {
  color: var(--ink);
}
@media (min-width: 992px){
  .site-nav .navbar-toggler {
    display: none;
  }
  .site-nav .nav-item-cta {
    margin-left: 1rem;
  }
}
@media (max-width: 991px){
  .site-nav .navbar-nav {
    padding: 1.5rem 0 0.5rem;
  }
  .site-nav .nav-link {
    padding: 0.75rem 0;
    font-size: 1.25rem;
  }
  .site-nav .nav-item-cta {
    margin-top: 1rem;
  }
  .site-nav .btn-nav {
    display: block;
  }
}

/* Page header */

.page-hero {
  padding: 11rem 0 5rem;
  background: var(--ink);
}
.page-hero h1 {
  max-width: 1000px;
  margin-bottom: 1.5rem;
  color: #ffffff;
}
.page-hero .lead {
  margin-bottom: 0;
  color: rgba(255,255,255,0.8);
}
@media (max-width: 767px){
  .page-hero {
    padding: 8rem 0 3.5rem;
  }
}

/* Key figures */

.figures {
  margin-top: 5rem;
  border-top: 1px solid var(--line-light);
}
.figure {
  padding-top: 2rem;
}
.figure-value {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.figure-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
@media (min-width: 992px){
  .figure + .figure {
    padding-left: 2rem;
    border-left: 1px solid var(--line-light);
  }
}
@media (max-width: 991px){
  .figure {
    margin-bottom: 1rem;
  }
}

/* Numbered columns */

.step {
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
}
.step-num {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--navy);
}
.step h3 {
  margin-bottom: 0.75rem;
}
.step p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* Photo tiles */

.photo-tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink);
  color: #ffffff;
}
.photo-tile img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.photo-tile:hover img {
  transform: scale(1.04);
}
.photo-tile:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(11,28,54,0.1) 0%, rgba(11,28,54,0.45) 45%, rgba(11,28,54,0.94) 100%);
}
.photo-tile-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: var(--gutter);
}
.photo-tile h2,
.photo-tile h3 {
  color: #ffffff;
}
.photo-tile p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.85);
}
.photo-tile .eyebrow {
  display: flex;
  align-items: center;
}
.photo-tile .eyebrow .num {
  margin-right: 0.75rem;
  padding-right: 0.75rem;
  border-right: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
}
.tile-tag {
  margin-left: 0.75rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.6);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: #ffffff;
}

/* Call to action band */

.cta-band {
  padding: 6.5rem 0;
  background: var(--ink);
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
}
.cta-band h2 {
  margin-bottom: 1rem;
  color: #ffffff;
}
.cta-band p {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
}
.cta-band .btn {
  margin-top: 2rem;
}
.cta-band-soft {
  background: var(--soft);
}
.cta-band-soft h2 {
  color: var(--ink);
}
.cta-band-soft p {
  color: var(--text);
}
.cta-band-soft .eyebrow {
  color: var(--navy);
}
@media (max-width: 767px){
  .cta-band {
    padding: 4.5rem 0;
  }
}

/* Footer */

.site-footer {
  padding: 5rem 0 3rem;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
}
.footer-companies {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logos {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.footer-logos-track {
  display: flex;
  width: max-content;
  animation: footer-logos-scroll 55s linear infinite;
}
.footer-logos:hover .footer-logos-track {
  animation-play-state: paused;
}
.footer-logos-set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.footer-logos img {
  width: auto;
  margin-right: 4.5rem;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
@keyframes footer-logos-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.footer-logos .logo-ulcommerce {
  height: 28px;
}
.footer-logos .logo-innercol {
  height: 15px;
}
.footer-logos .logo-intershop {
  height: 26px;
}
.footer-logos .logo-amoblando {
  height: 20px;
}
.footer-logos .logo-pullman {
  height: 34px;
}
.footer-logos .logo-lugano {
  height: 30px;
}
.footer-logos .logo-inverhay {
  height: 26px;
}
.footer-logos .logo-cdafusa {
  height: 24px;
}
.footer-logos .logo-cdacentromotos {
  height: 58px;
}
.footer-logos .logo-controlautos {
  height: 22px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links li + li {
  margin-left: 2rem;
}
.footer-links a {
  font-weight: 500;
  color: #ffffff;
}
.footer-links a:hover {
  color: rgba(255,255,255,0.7);
}
.footer-legal {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 575px){
  .footer-logos img {
    margin-right: 3rem;
  }
  .footer-logos .logo-ulcommerce {
    height: 20px;
  }
  .footer-logos .logo-innercol {
    height: 10px;
  }
  .footer-logos .logo-intershop {
    height: 19px;
  }
  .footer-logos .logo-amoblando {
    height: 15px;
  }
  .footer-logos .logo-pullman {
    height: 26px;
  }
  .footer-logos .logo-lugano {
    height: 22px;
  }
  .footer-logos .logo-inverhay {
    height: 19px;
  }
  .footer-logos .logo-cdafusa {
    height: 18px;
  }
  .footer-logos .logo-cdacentromotos {
    height: 44px;
  }
  .footer-logos .logo-controlautos {
    height: 15px;
  }
  .footer-main .footer-links {
    margin-top: 1.5rem;
  }
}

/* Entrance animation for content that is visible on load (CSS only, no JS needed). */

.intro {
  animation: intro-up 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.intro-d1 {
  animation-delay: 0.1s;
}
.intro-d2 {
  animation-delay: 0.2s;
}
.intro-d3 {
  animation-delay: 0.3s;
}
.intro-d4 {
  animation-delay: 0.45s;
}
@keyframes intro-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Scroll reveal: the class on <html> is set in the head; site.js adds .is-visible. */

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  animation: reveal-fallback 0s linear 4s forwards;
}
.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
.reveal-ready .reveal-d1 {
  transition-delay: 0.1s;
}
.reveal-ready .reveal-d2 {
  transition-delay: 0.2s;
}
.reveal-ready .reveal-d3 {
  transition-delay: 0.3s;
}
@keyframes reveal-fallback {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce){
  html {
    scroll-behavior: auto;
  }
  .reveal-ready [data-reveal],
  .intro {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  .photo-tile img {
    transition: none;
  }
  .footer-logos {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .footer-logos-track {
    width: auto;
    animation: none;
  }
  .footer-logos-set {
    flex-wrap: wrap;
    flex-shrink: 1;
  }
  .footer-logos-set img {
    margin-bottom: 1.5rem;
  }
  .footer-logos-set + .footer-logos-set {
    display: none;
  }
}
