:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f6f7f8;
  --text: #111827;
  --muted: #5b6472;
  --line: rgba(17, 24, 39, 0.1);
  --accent: #1d4ed8;
  --accent-dark: #153ea8;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --container: min(1160px, calc(100% - 32px));
  --font-body: "Manrope", sans-serif;
  --font-display: "Newsreader", serif;
  --tracking-body: 0;
  --tracking-heading: -0.05em;
  --tracking-subheading: -0.03em;
  --tracking-eyebrow: 0.16em;
  --lh-body: 1.75;
  --lh-heading: 0.96;
  --fs-body: 1.25rem;
  --fs-h1: clamp(3.2rem, 7vw, 6.4rem);
  --fs-h2: clamp(2.3rem, 4.6vw, 4rem);
  --fs-h3: 1.2rem;
  --radius-box: 8px;
  --radius-media: 6px;
  --radius-button: 6px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  letter-spacing: var(--tracking-body);
  background: var(--bg);
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-button);
  background: var(--text);
  color: #ffffff;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: var(--lh-heading);
}

h1 {
  font-size: var(--fs-h1);
  letter-spacing: var(--tracking-heading);
}

h2 {
  font-size: var(--fs-h2);
  letter-spacing: var(--tracking-heading);
}

h3 {
  font-size: var(--fs-h3);
  letter-spacing: var(--tracking-subheading);
}

p,
a,
button,
li,
span {
  letter-spacing: var(--tracking-body);
}

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

.site-footer {
  margin-top: 96px;
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 360px));
  justify-content: center;
  gap: 48px;
  align-items: start;
}

.footer-block {
  display: grid;
  gap: 12px;
}

.footer-eyebrow {
  margin-bottom: 0;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-title {
  margin-bottom: 0;
  font-size: 1.2rem;
  letter-spacing: var(--tracking-subheading);
}

.footer-copy {
  max-width: 34ch;
  margin-bottom: 0;
  color: var(--muted);
}

.footer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.footer-list strong {
  color: var(--text);
}

.footer-contact-list {
  gap: 12px;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.footer-contact-item strong {
  margin-bottom: 0;
}

address {
  font-style: normal;
}

[data-contact-inline] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 224px;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.footer-contact-item [data-contact-inline] {
  justify-self: start;
}


.cta-contact [data-contact-inline] {
  width: 100%;
  justify-self: start;
  white-space: nowrap;
}

.cta-contact [data-contact-inline]:hover,
.cta-contact [data-contact-inline]:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(29, 78, 216, 0.22);
}

.footer-contact-item [data-contact-inline],
.footer-company-item [data-contact-inline] {
  border-color: rgba(29, 78, 216, 0.18);
  background: rgba(29, 78, 216, 0.04);
  color: var(--accent-dark);
}

.footer-contact-item [data-contact-inline]:hover,
.footer-contact-item [data-contact-inline]:focus-visible,
.footer-company-item [data-contact-inline]:hover,
.footer-company-item [data-contact-inline]:focus-visible {
  border-color: rgba(29, 78, 216, 0.28);
  background: rgba(29, 78, 216, 0.08);
  color: var(--accent-dark);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.site-header-home {
  position: absolute;
  left: 0;
  right: 0;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(7, 12, 20, 0.42), rgba(7, 12, 20, 0));
  backdrop-filter: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header-home.is-solid {
  position: sticky;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.nav-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.site-nav .nav-link-active {
  color: var(--text);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.45);
  transform-origin: center;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-button);
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(29, 78, 216, 0.2);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.site-header-home .brand,
.site-header-home .site-nav a,
.site-header-home .nav-link-button {
  color: #ffffff;
}

.site-header-home .nav-link-active {
  color: #ffffff;
}

.site-header-home .nav-toggle span {
  background: #ffffff;
}

.site-header-home.is-solid .brand,
.site-header-home.is-solid .site-nav a,
.site-header-home.is-solid .nav-link-button,
.site-header-home.is-solid .nav-link-active {
  color: var(--text);
}

.site-header-home.is-solid .nav-toggle span {
  background: var(--text);
}

.nav-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: var(--radius-pill);
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-button);
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(29, 78, 216, 0.28);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font-weight: 800;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible,
.floating-cta:hover,
.floating-cta:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: none;
}

.button:focus-visible,
.site-nav a:focus-visible,
.nav-link-button:focus-visible,
.brand:focus-visible,
.nav-toggle:focus-visible,
.floating-cta:focus-visible,
.nav-cta:focus-visible {
  outline: 2px solid rgba(29, 78, 216, 0.24);
  outline-offset: 4px;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 16px 34px rgba(29, 78, 216, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 18px 38px rgba(21, 62, 168, 0.28);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 18px 38px rgba(21, 62, 168, 0.28);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(17, 24, 39, 0.22);
  background: #ebeff3;
  color: #0f172a;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(7, 12, 20, 0.18);
  backdrop-filter: blur(8px);
}

.hero .button-secondary:hover,
.hero .button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(7, 12, 20, 0.24);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.26);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.contact-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-panel {
  width: min(100%, 620px);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-box);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  transform: translateY(10px) scale(0.98);
  transition: transform 220ms ease;
}

.contact-modal.is-visible .contact-modal-panel {
  transform: translateY(0) scale(1);
}

.contact-modal-label {
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

.contact-modal-value {
  margin-bottom: 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: var(--tracking-heading);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.contact-modal-title {
  margin-bottom: 14px;
}

.contact-modal-copy {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: var(--lh-body);
}

.contact-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-modal-close {
  margin-top: 22px;
  width: 100%;
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-panel {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(100%, 1220px);
  max-height: 94vh;
  padding: 8px 8px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  transform: translateY(10px) scale(0.985);
  transition: transform 220ms ease;
}

.lightbox-modal.is-visible .lightbox-panel {
  transform: translateY(0) scale(1);
}

.lightbox-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 0;
}

.lightbox-image {
  width: 100%;
  max-height: 82vh;
  border-radius: var(--radius-media);
  object-fit: contain;
  background: transparent;
}

.lightbox-footer {
  padding: 0 12px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(7, 12, 20, 0.52);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(7, 12, 20, 0.72);
  color: #ffffff;
}

.lightbox-nav {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(7, 12, 20, 0.46);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(7, 12, 20, 0.72);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .nav-link-active {
  opacity: 1;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav .nav-link-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header-home .site-nav a::after {
  background: #ffffff;
}

.site-header-home.is-solid .site-nav a::after {
  background: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.lightbox-caption {
  margin-bottom: 0;
  color: var(--muted);
  text-align: center;
  line-height: var(--lh-body);
}

@media (max-width: 920px) {
  html {
    scroll-padding-top: 88px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-box);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-header-home .site-nav a,
  .site-header-home .nav-link-button,
  .site-header-home .nav-link-active {
    color: var(--text);
  }

  .site-header-home .site-nav a::after {
    background: currentColor;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 1160px);
    --radius-box: 8px;
    --radius-media: 6px;
  }

  body {
    padding-bottom: 104px;
  }

  .floating-cta {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }

  .button {
    width: 100%;
  }

  .hero-actions .button-secondary {
    display: none;
  }

  .intro-actions .button-secondary {
    display: none;
  }

  .nav-cta,
  .hero-actions .contact-trigger,
  .intro-actions .contact-trigger {
    display: none;
  }

  .contact-modal-panel {
    padding: 24px;
    border-radius: var(--radius-box);
  }

  .contact-modal-actions {
    gap: 10px;
  }

  .lightbox-panel {
    padding: 8px 8px 12px;
    border-radius: var(--radius-media);
  }

  .lightbox-stage {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }

  .lightbox-prev {
    left: 8px;
  }

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