*,
*::before,
*::after { box-sizing: border-box; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #111;
  padding: 8px 12px;
  z-index: 10000;
}
.skip-link:focus { top: 8px; }

.site-header {
  background: #fff;
  position: relative;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 138px;
}

.logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}
.logo img {
  width: 232px;
  height: 86px;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.nav-desktop a {
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  text-decoration: none;
  color: #333;
  background: #fff;
  padding: 8px 0;
}
.nav-desktop a:hover { color: var(--accent); }

.nav-toggle,
.mobile-panel { display: none; }
.mobile-panel[hidden] { display: none !important; }

.page-header {
  background: var(--bar);
  padding: 34px 0;
}
.page-header-title {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
}

.hero {
  position: relative;
  height: 650px;
  background: #000;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-caption {
  position: absolute;
  right: max(20px, calc((100% - 1200px) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: min(542px, 78%);
  text-align: center;
  z-index: 2;
}
.hero-caption h1 {
  margin: 0;
  display: inline-block;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 10px 16px;
}

.welcome {
  padding: 72px 0 40px;
}
.welcome-grid,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-items: center;
}
.welcome-title {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: left;
}
.welcome p,
.prose p {
  margin: 18px 0 0;
}
.welcome-photo,
.prose img {
  width: 100%;
  height: auto;
  display: block;
}

.btn,
button.btn,
input.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
  border: 0;
  border-radius: 0;
  padding: 12px 18px;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover,
button.btn:hover,
input.btn:hover { filter: brightness(0.92); }
.welcome .btn { margin-top: 22px; }

.cta {
  margin: 20px auto 0;
  width: min(1200px, calc(100% - 40px));
  min-height: 520px;
  background: #222 url("/assets/img/bg_footer.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px 28px;
}
.cta-box {
  width: min(420px, 100%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  padding: 28px 22px 32px;
}
.cta-box h1 {
  margin: 0 0 14px;
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}
.cta-lg { font-size: 24px; }
.cta-md { font-size: 18px; }
.cta-box .btn { margin-top: 8px; }

.page {
  padding: 36px 0 64px;
}
.prose h2 {
  margin: 8px 0 0;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
}
.split + .split { margin-top: 36px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}
.card img {
  width: 100%;
  aspect-ratio: 450 / 250;
  object-fit: cover;
  display: block;
}
.card h2 {
  margin: 14px 0 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}
.card h2 a { text-decoration: none; }
.card h2 a:hover { color: var(--accent); }

.partners p { max-width: 980px; }
.partners p strong { font-weight: 700; }
.logo-slider {
  position: relative;
  margin: 48px 0 20px;
  padding: 0 42px;
}
.logo-viewport { overflow: hidden; }
.logo-track {
  display: flex;
  transition: transform 0.8s ease;
}
.logo-slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  min-height: 120px;
}
.logo-slide img {
  max-width: 70%;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #9a9a9a;
  cursor: pointer;
  padding: 0;
}
.logo-arrow svg { width: 28px; height: 28px; display: block; }
.logo-prev { left: 0; }
.logo-next { right: 0; }
.logo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.logo-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #c8c8c8;
  padding: 0;
  cursor: pointer;
}
.logo-dots button.is-active { background: #6d6d6d; }

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin: 10px 0 20px;
}
.gallery a {
  display: block;
  width: 150px;
  height: 150px;
  line-height: 0;
}
.gallery img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 64px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}
.lightbox-close { top: 12px; right: 16px; font-size: 40px; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  align-items: start;
}
.form p { margin: 0 0 16px; }
.form label {
  display: block;
  color: #333;
  margin-bottom: 6px;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  font: 14px/1.4 var(--font);
  padding: 8px 10px;
}
.form textarea { min-height: 180px; resize: vertical; }
.form input[type="file"] { font: 14px var(--font); }
.map {
  width: 100%;
  height: 550px;
  border: 0;
}
.form-feedback { min-height: 1.4em; margin-top: 8px; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.archive-entry { margin: 0 0 48px; }
.archive-entry img {
  width: 100%;
  height: auto;
  display: block;
}
.archive-entry h2 {
  margin: 16px 0 8px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
}
.archive-entry h2 a { text-decoration: none; }
.archive-entry h2 a:hover { color: var(--accent); }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  color: #777;
  font-size: 13px;
}
.meta a { text-decoration: none; }
.meta a:hover { color: var(--accent); }
.readmore { text-decoration: none; font-weight: 500; }
.readmore:hover { color: var(--accent); }

.site-footer { background: var(--footer); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 20px 32px;
  align-items: center;
  padding: 28px 0 18px;
}
.footer-logo {
  width: 295px;
  height: auto;
}
.footer-col {
  font-family: Calibri, Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: #333;
}
.footer-col p,
.footer-col ul { margin: 0; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-line {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.footer-line svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  fill: #595959;
}
.footer-bottom {
  background: var(--bar);
  color: #fff;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1;
  padding: 15px 16px;
}
.footer-bottom a { color: #fff; }

.scroll-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  cursor: pointer;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.scroll-top.is-on { display: flex; }
.scroll-top:hover { background: rgba(0, 0, 0, 0.8); }
.scroll-top svg { width: 16px; height: 16px; fill: #fff; }

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .logo-slide { flex-basis: auto; }
  .hero-caption h1 { font-size: 36px; }
}

@media (max-width: 780px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 18px 0 12px;
    gap: 8px;
  }
  .nav-desktop { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #333;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 8px;
  }
  .nav-toggle svg { width: 18px; height: 18px; }
  .mobile-panel {
    display: block;
    background: #fff;
    border-top: 1px solid #eee;
  }
  .mobile-panel ul {
    list-style: none;
    margin: 0;
    padding: 8px 0 16px;
  }
  .mobile-panel a {
    display: block;
    padding: 12px 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-weight: 500;
    font-size: 15px;
  }
  .hero { height: 240px; }
  .hero-caption {
    right: 5%;
    left: 5%;
    width: auto;
  }
  .hero-caption h1 { font-size: 23px; padding: 8px 10px; }
  .welcome-grid,
  .split,
  .contact-grid,
  .footer-grid,
  .cards { grid-template-columns: 1fr; }
  .welcome { padding-top: 36px; }
  .cta { min-height: 0; padding: 48px 16px; justify-content: center; }
  .logo-slide { flex-basis: auto; }
  .gallery a,
  .gallery img { width: 120px; height: 120px; }
  .map { height: 320px; }
  .footer-logo { width: min(295px, 80%); }
  .footer-grid { text-align: left; justify-items: center; }
}

@media (max-width: 500px) {
  .logo-slide { flex-basis: auto; }
  .welcome-title,
  .prose h2 { font-size: 23px; }
}
