/* ==========================================================================
   Kolter Urban digital brochure — shared styles
   Page-specific layout lives in css/<page>.css
   ========================================================================== */

/* Fonts (self-hosted) */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:100;font-display:swap;src:url(fonts/montserrat-latin-100-normal.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:200;font-display:swap;src:url(fonts/montserrat-latin-200-normal.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:300;font-display:swap;src:url(fonts/montserrat-latin-300-normal.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/montserrat-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/montserrat-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/montserrat-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/montserrat-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:italic;font-weight:200;font-display:swap;src:url(fonts/montserrat-latin-200-italic.woff2) format('woff2')}
@font-face{font-family:'Raleway';font-style:normal;font-weight:100;font-display:swap;src:url(fonts/raleway-latin-100-normal.woff2) format('woff2')}
@font-face{font-family:'Raleway';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/raleway-latin-400-normal.woff2) format('woff2')}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: #fff;
  color: rgb(51, 51, 51);
  font-family: Arial, Helvetica, sans-serif;
}

[hidden] {
  display: none !important;
}

img {
  border: 0;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 73px;
  left: -500px;
  z-index: 1001;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
}

.skip-link:focus {
  left: 20px;
}

/* Sections, rows and columns
   -------------------------------------------------------------------------- */
.sec {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  font-family: Arial, Helvetica, sans-serif;
}

.sec-inner {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  max-width: 1024px;
}

.row {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  margin: 0 auto;
}

.col {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 100%;
  justify-content: flex-start;
  max-width: 100%;
  max-height: 100%;
  text-align: start;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

.col-inner {
  flex: 0 0 auto;
}

:where(.col-inner) > * {
  flex: 0 0 auto;
  width: 100%;
}

:where(.col-inner)::after {
  content: " ";
  display: block;
  height: 0;
}

/* Columns of full-height sections: content is distributed by the column's
   vertical alignment across the whole section height */
.col-fill > .col-inner {
  display: flex;
  flex: 1 1 100%;
  flex-direction: column;
  justify-content: inherit;
  min-height: 100%;
}

/* Background layers */
.bg,
.video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

/* Background video: a still shows until the video is actually playing */
.video-bg {
  container-type: size;
  background-color: #000;
}

.video-bg iframe,
.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqw, 177.78cqh);
  height: max(100cqh, 56.25cqw);
  border: 0;
  object-fit: cover;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.video-bg.playing iframe,
.video-bg.playing video {
  opacity: 1;
}

/* Text */
.text {
  position: relative;
  width: 100%;
  color: rgb(51, 51, 51);
}

:where(.text) :where(h1, h2, h3, h4, h5, h6, p) {
  position: relative;
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  padding: 0;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  hyphens: manual;
}

/* Images */
.img {
  line-height: 0;
}

.fig {
  position: relative;
  display: inline-block;
  width: 100%;
  min-width: 20px;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
}

:where(.fig) img {
  display: inline-block;
  width: 100%;
  height: auto;
  max-height: 100%;
}

.img-link {
  display: inline;
}

/* Buttons */
.btn-wrap {
  position: relative;
  width: 100%;
  text-align: inherit;
}

.btn {
  position: relative;
  display: inline-block;
  padding: 12px 20px;
  border: 0;
  border-radius: 2px;
  background-color: rgb(64, 64, 64);
  color: rgb(255, 255, 255);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1em;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: pre-wrap;
  cursor: pointer;
  transition: 0.3s;
}

/* Scroll-in animations (play once, when the section enters the viewport) */
.js .anim {
  opacity: 0;
}

.js .in-view .anim {
  opacity: 1;
  animation-duration: 700ms;
  animation-fill-mode: backwards;
}

.js .in-view .a-fadeIn { animation-name: fadeIn; animation-duration: 1400ms; }
.js .in-view .a-fadeInUp { animation-name: fadeInUp; }
.js .in-view .a-fadeInDown { animation-name: fadeInDown; }
.js .in-view .a-fadeInLeft { animation-name: fadeInLeft; }
.js .in-view .a-fadeInRight { animation-name: fadeInRight; }

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  0% { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  0% { opacity: 0; transform: translateX(20px); }
  100% { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .js .anim,
  .js .in-view .anim {
    opacity: 1;
    animation: none;
  }
}

/* Inline text utilities */
.c-7d7d7d { color: rgb(125, 125, 125); }
.d-1050 { animation-delay: 1050ms; }
.d-150 { animation-delay: 150ms; }
.d-300 { animation-delay: 300ms; }
.d-450 { animation-delay: 450ms; }
.d-600 { animation-delay: 600ms; }
.d-750 { animation-delay: 750ms; }
.d-900 { animation-delay: 900ms; }
.ff-montserrat { font-family: Montserrat; }
.fs-1-25rem { font-size: 1.25rem; }
.fs-1-625rem { font-size: 1.625rem; }
.fst-normal { font-style: normal; }
.fw-100 { font-weight: 100; }
.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-700 { font-weight: 700; }
.lh-0-7em { line-height: 0.7em; }
.lh-1-25em { line-height: 1.25em; }
.lh-1-2em { line-height: 1.2em; }
.lh-1-4em { line-height: 1.4em; }
.lh-1-7em { line-height: 1.7em; }

/* Header bar
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 0;
  color: rgb(255, 255, 255);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

.nav-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  height: 57px;
  background-color: rgba(0, 0, 0, 0.8);
  line-height: 2em;
}

.nav-main {
  display: flex;
  flex: 1 1 0%;
  align-items: center;
  min-width: 0;
}

.nav-logo {
  display: block;
  flex: 0 1 auto;
  width: 269.366px;
  min-width: 0;
}

.nav-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-divider {
  display: flex;
  flex: 0 0 auto;
  width: 1px;
  height: 57px;
  background-color: rgba(0, 0, 0, 0.1);
}

.nav-menu {
  display: flex;
  flex: 0 1 auto;
  width: 95%;
  padding-left: 3px;
  overflow: auto hidden;
  scrollbar-width: none;
}

.nav-menu::-webkit-scrollbar {
  display: none;
}

.nav-menu a {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 57px;
  padding: 0 25px;
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: rgba(0, 0, 0, 0.2);
  transition: 300ms;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  left: 0;
  width: 100%;
}

.nav-tools {
  display: flex;
  align-items: center;
}

.nav-search {
  display: flex;
  flex: 0 0 57px;
  align-items: center;
  justify-content: center;
  width: 57px;
  height: 57px;
  padding: 1px 6px;
  border: 0;
  background: transparent;
  color: rgb(255, 255, 255);
  cursor: pointer;
}

.nav-search svg {
  fill: currentColor;
}

/* Sound toggle for background videos (desktop) */
.nav-volume {
  display: flex;
  flex: 1 0 57px;
  align-items: center;
  justify-content: center;
  width: 57px;
  height: 57px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgb(255, 255, 255);
  cursor: pointer;
  transition: 0.3s;
}

.nav-volume svg {
  fill: currentColor;
}

/* Previous / next
   -------------------------------------------------------------------------- */
.prev-next {
  position: fixed;
  right: 30px;
  bottom: 60px;
  z-index: 10;
  display: flex;
}

.pn-btn {
  display: flex;
  align-items: center;
  padding: 9px 8px 8px 9px;
  background-color: rgba(0, 0, 0, 0.8);
  color: rgb(255, 255, 255);
  cursor: pointer;
}

.pn-btn svg {
  display: block;
  fill: currentColor;
}

.pn-prev {
  border-radius: 2px 0 0 2px;
}

.pn-next {
  border-radius: 0 2px 2px 0;
}

.pn-btn.is-disabled {
  opacity: 0.5;
  cursor: auto;
}

/* Scroll-down hint (desktop only)
   -------------------------------------------------------------------------- */
.scroll-hint {
  position: fixed;
  left: calc(50% - 41.5px);
  bottom: 30px;
  z-index: 100;
  display: block;
  width: 83px;
  height: 83px;
  padding: 18px;
  border: 0;
  border-radius: 34px;
  background-color: rgba(0, 0, 0, 0.8);
  color: rgb(255, 255, 255);
  font-size: 47px;
  line-height: 0;
  cursor: pointer;
  transition: opacity 400ms ease-out, transform 400ms linear;
}

.scroll-hint svg {
  fill: currentColor;
  vertical-align: top;
}

.scroll-hint.is-leaving {
  opacity: 0;
  transform: translateY(60px);
}

.scroll-hint-sm {
  left: calc(50% - 36px);
  width: 72px;
  height: 72px;
  font-size: 36px;
}

.scroll-hint-r27 {
  border-radius: 27px;
}

/* Search
   -------------------------------------------------------------------------- */
.search {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.8);
  color: rgb(255, 255, 255);
  font-family: Arial, Helvetica, sans-serif;
}

.search-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 90px 24px 60px;
}

.search-form {
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

.search-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  outline: none;
}

.search-input::-webkit-search-cancel-button {
  display: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-close {
  display: flex;
  padding: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.search-close svg {
  fill: currentColor;
}

.search-results {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.search-results li + li {
  margin-top: 8px;
}

.search-results a {
  display: block;
  padding: 14px 16px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
}

.search-results a:hover,
.search-results a:focus {
  background-color: rgba(255, 255, 255, 0.16);
}

.search-results strong {
  display: block;
  margin-bottom: 4px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
}

.search-results span {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  line-height: 1.5;
}

.search-results mark {
  background: transparent;
  color: #fff;
  font-weight: 700;
}

.search-empty {
  color: rgba(255, 255, 255, 0.75);
}

/* Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 999px) {
  .col {
    flex-grow: 0;
    flex-shrink: 0;
  }

  .scroll-hint,
  .nav-volume,
  .nav-volume-divider {
    display: none;
  }
}

@media (max-width: 749px) {
  .nav-main {
    justify-content: center;
  }

  .nav-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(269.366px, 45vw);
    transform: translate(-50%, -50%);
  }

  .nav-divider,
  .nav-menu {
    display: none;
  }
}
