:root {
  --ink: #171a16;
  --muted: #5f665f;
  --line: #d8d4c9;
  --bg: #f3f0e8;
  --paper: #fffdf8;
  --accent: #b76324;
  --accent-dark: #874515;
  --dark: #090d0b;
  --dark-soft: #151914;
}

* {
  box-sizing: border-box;
}

.unb-site {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(9, 13, 11, .03), transparent 320px),
    var(--bg);
  line-height: 1.55;
}

.unb-wrap {
  max-width: 1180px;
  margin: auto;
  padding: 66px 24px;
}

.unb-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 2px;
  overflow: auto;
  padding: 0 18px;
  background: rgba(9, 13, 11, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.unb-nav a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 12px;
  color: #f8f4ea;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.unb-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background: var(--dark);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 13, 11, .9), rgba(9, 13, 11, .5) 55%, rgba(9, 13, 11, .75)),
    linear-gradient(180deg, rgba(9, 13, 11, .12), rgba(9, 13, 11, .9));
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.18) contrast(1.04) brightness(1.22);
  opacity: 0;
  transform: scale(1.06) translate3d(0,0,0);
  animation: cinematicHero 42s infinite;
  will-change: opacity, transform;
}

.hero-photo-1 { opacity: 1; animation-delay: 0s; }
.hero-photo-2 { animation-delay: 7s; }
.hero-photo-3 { animation-delay: 14s; }
.hero-photo-4 { animation-delay: 21s; }
.hero-photo-5 { animation-delay: 28s; }
.hero-photo-6 { animation-delay: 35s; }

@keyframes cinematicHero {
  0% { opacity: 1; transform: scale(1.06) translate3d(-1.2%, 0, 0); }
  16% { opacity: 1; transform: scale(1.14) translate3d(1.8%, -1.2%, 0); }
  22% { opacity: 0; transform: scale(1.17) translate3d(2.5%, -1.6%, 0); }
  94% { opacity: 0; transform: scale(1.06) translate3d(-1.2%, 0, 0); }
  100% { opacity: 1; transform: scale(1.06) translate3d(-1.2%, 0, 0); }
}

.hero .unb-wrap {
  max-width: 1380px;
  padding: clamp(92px, 13vh, 160px) clamp(22px, 5vw, 72px) 190px;
}

.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f1a05b;
  letter-spacing: .22em;
  font-size: 13px;
}

.hero .kicker::before {
  content: "";
  width: 54px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 1100px;
  margin: 16px 0 22px;
  font-size: clamp(62px, 12vw, 168px);
  line-height: .78;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 18px 55px rgba(0,0,0,.55);
}

.hero p {
  max-width: 850px;
  font-size: clamp(20px, 2.25vw, 34px);
  line-height: 1.18;
  font-weight: 760;
  color: #fff6e8;
  text-shadow: 0 10px 35px rgba(0,0,0,.75);
}

.btns { gap: 10px; }
.btn {
  min-height: 54px;
  border-radius: 2px;
  border-color: rgba(244,239,229,.42);
  background: rgba(244,239,229,.9);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}
.btn.dark {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 15px 35px rgba(208,109,34,.22);
}

.hero-meter {
  position: absolute;
  left: clamp(22px, 5vw, 72px);
  right: clamp(22px, 5vw, 72px);
  bottom: 130px;
  z-index: 3;
  height: 2px;
  background: rgba(244,239,229,.22);
  overflow: hidden;
}
.hero-meter span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  animation: heroMeter 7s linear infinite;
}
@keyframes heroMeter { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-specs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(5, 6, 5, .86);
  border-top: 1px solid rgba(244,239,229,.2);
  backdrop-filter: blur(12px);
}
.hero-specs div {
  min-height: 112px;
  padding: 24px clamp(18px, 4vw, 54px);
  border-right: 1px solid rgba(244,239,229,.14);
}
.hero-specs strong {
  display: block;
  color: #fff;
  font-size: clamp(28px, 4vw, 52px);
  line-height: .9;
  font-weight: 950;
}
.hero-specs span {
  display: block;
  margin-top: 8px;
  color: #d5c8b8;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 850;
}

.strip { background: #080907; }
.strip .unb-wrap { padding-top: 42px; padding-bottom: 42px; }
.strip strong { color: #f3a35a; }
.photo-band { background: #0b0c09; }
.photo-grid { grid-auto-rows: 250px; }
.card { border-radius: 2px; box-shadow: none; }
.feature-img, .gallery img, .photo-grid img { border-radius: 2px; }

@media (max-width: 760px) {
  .unb-nav { padding: 0 12px; }
  .unb-nav .nav-brand { min-width: 100%; min-height: 48px; }
  .hero { min-height: 92svh; }
  .hero .unb-wrap { padding: 76px 20px 250px; }
  .hero h1 { font-size: clamp(52px, 18vw, 92px); }
  .hero-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-specs div { min-height: 82px; padding: 16px 20px; }
  .hero-meter { bottom: 184px; }
}

/* WordPress theme overrides for Twenty Twenty-Three and similar block themes. */
body.unb-site { margin: 0; background: var(--bg); }
body.unb-site .wp-site-blocks { padding: 0 !important; }
body.unb-site .wp-site-blocks > header,
body.unb-site .wp-site-blocks > footer,
body.unb-site header.wp-block-template-part,
body.unb-site footer.wp-block-template-part,
body.unb-site .wp-block-post-title { display: none !important; }
body.unb-site .wp-site-blocks > main,
body.unb-site .wp-block-group,
body.unb-site .wp-block-post-content,
body.unb-site .entry-content,
body.unb-site .is-layout-constrained,
body.unb-site .is-layout-flow { max-width: none !important; margin: 0 !important; padding: 0 !important; }
body.unb-site .wp-block-post-content > *,
body.unb-site .entry-content > * { max-width: none !important; }
body.unb-site img { max-width: 100%; }


/* Hard fallback: if animation is paused or blocked, the first hero image remains visible. */
.hero-media .hero-photo-1 { opacity: 1; }


/* Compatibility fallback: older imported pages used span hero layers instead of image elements. */
.hero-media span {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.18) contrast(1.04) brightness(1.22);
  opacity: 0;
  transform: scale(1.06) translate3d(0,0,0);
  animation: cinematicHero 42s infinite;
  will-change: opacity, transform;
}
.hero-img-1 { background-image: url('/wp-content/uploads/2026/05/IMAGE-2026-05-25-at-11.29.12-PM.jpg'); opacity: 1; animation-delay: 0s; }
.hero-img-2 { background-image: url('/wp-content/uploads/2026/05/IMAGE-2026-05-25-at-11.29.05-PM.jpg'); animation-delay: 7s; }
.hero-img-3 { background-image: url('/wp-content/uploads/2026/05/IMAGE-2026-05-25-at-11.28.46-PM.jpg'); animation-delay: 14s; }
.hero-img-4 { background-image: url('/wp-content/uploads/2026/05/IMAGE-2026-05-25-at-11.28.34-PM.jpg'); animation-delay: 21s; }
.hero-img-5 { background-image: url('/wp-content/uploads/2026/05/IMAGE-2026-05-25-at-11.28.25-PM.jpg'); animation-delay: 28s; }
.hero-img-6 { background-image: url('/wp-content/uploads/2026/05/IMAGE-2026-05-25-at-11.28.11-PM.jpg'); animation-delay: 35s; }
.hero-media .hero-img-1 { opacity: 1; }


/* Gallery viewer redesign */
.gallery-page {
  background: #11120f;
  color: #f4efe5;
  min-height: 100vh;
}
.gallery-hero {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  padding-top: 72px;
  padding-bottom: 34px;
}
.gallery-hero h1 {
  font-size: clamp(52px, 9vw, 120px);
  text-transform: uppercase;
}
.gallery-hero .lead {
  color: #d4c7b7;
}
.gallery-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.gallery-tabs button,
.gallery-arrow {
  border: 1px solid rgba(244,239,229,.28);
  background: rgba(244,239,229,.08);
  color: #f4efe5;
  border-radius: 2px;
  min-height: 42px;
  padding: 10px 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.gallery-tabs button.active,
.gallery-tabs button:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.gallery-viewer-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 370px);
  gap: 18px;
  padding-top: 16px;
}
.gallery-viewer {
  min-width: 0;
}
.gallery-stage {
  position: sticky;
  top: 82px;
  aspect-ratio: 16 / 10;
  background: #050605;
  border: 1px solid rgba(244,239,229,.16);
  overflow: hidden;
}
.gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050605;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 64px;
  padding: 0;
  font-size: 36px;
  transform: translateY(-50%);
  background: rgba(5,6,5,.68);
}
.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }
.gallery-caption {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0 0;
  color: #d4c7b7;
}
.gallery-caption strong {
  color: #fff;
}
.gallery-caption a {
  color: #f0a45d;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding-right: 4px;
}
.gallery-thumb {
  position: relative;
  aspect-ratio: 1 / .78;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  background: #050605;
  cursor: pointer;
}
.gallery-thumb.active {
  border-color: var(--accent);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumb span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 5px 6px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}
@media (max-width: 900px) {
  .gallery-hero { display: block; }
  .gallery-tabs { justify-content: flex-start; }
  .gallery-viewer-wrap { grid-template-columns: 1fr; }
  .gallery-stage { position: relative; top: auto; }
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: none; }
}
@media (max-width: 560px) {
  .gallery-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.document-hero {
  padding-bottom: 28px;
}
.document-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding: 14px;
  background: #11120f;
  border: 1px solid var(--line);
}
.document-search input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 2px;
  background: #050605;
  color: #fff;
  padding: 0 16px;
  font: inherit;
  font-weight: 800;
}
.document-search input::placeholder {
  color: rgba(244,238,228,.58);
}
.document-search span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.document-library {
  display: grid;
  gap: 10px;
  padding-top: 0;
}
.doc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: #10110f;
}
.doc-row[hidden] {
  display: none;
}
.doc-row span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.doc-row h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.1;
}
.doc-row p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .document-search,
  .doc-row {
    grid-template-columns: 1fr;
  }
  .document-search span {
    white-space: normal;
  }
  .doc-row .btn {
    width: 100%;
    justify-content: center;
  }
}
