/* ==========================================================
   THE OPEN HORIZON THEME v2
   ========================================================== */

:root {
  --toh-bg: #0f0f0f;
  --toh-deep: #050505;
  --toh-panel: #151515;
  --toh-text: #ffffff;
  --toh-soft: #e9e9e9;
  --toh-muted: #9a9a9a;
  --toh-gold: #d4af37;
  --toh-line: rgba(255,255,255,.12);
  --toh-max: 1220px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--toh-bg);
  color: var(--toh-text);
}

.content-bg,
.site-main-header-wrap,
.site-footer-wrap {
  background: var(--toh-bg);
}

.site-header,
.site-main-header-wrap {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.site-branding a.brand,
.site-title,
.site-title a {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a:hover {
  color: var(--toh-gold);
}

.entry-hero,
.entry-hero-container-inner {
  display: none !important;
}

.toh-front {
  background: var(--toh-bg);
  color: var(--toh-text);
}

.toh-hero-v2 {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
}

.toh-hero-v2:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
  background: linear-gradient(180deg, transparent, var(--toh-bg));
  z-index: -1;
}

.toh-hero-inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
  padding: 120px 0;
}

.toh-hero-inner h1 {
  font-size: clamp(3.4rem, 9vw, 9.5rem);
  line-height: .9;
  margin: 20px 0 24px;
  font-weight: 300;
  letter-spacing: .08em;
  color: #fff;
}

.toh-kicker {
  color: var(--toh-gold);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .76rem;
  margin-bottom: 14px;
}

.toh-lead {
  color: var(--toh-soft);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  margin-bottom: 34px;
}

.toh-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.toh-btn {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid var(--toh-gold);
  color: #000;
  background: var(--toh-gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  transition: all .25s ease;
}

.toh-btn:hover {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.toh-btn-ghost {
  background: transparent;
  color: #fff;
}

.toh-btn-ghost:hover {
  background: var(--toh-gold);
  border-color: var(--toh-gold);
  color: #000;
}

.toh-section-v2 {
  padding: clamp(80px, 9vw, 145px) clamp(22px, 5vw, 80px);
}

.toh-section-v2 > * {
  max-width: var(--toh-max);
  margin-left: auto;
  margin-right: auto;
}

.toh-deep {
  background: var(--toh-deep);
}

.toh-section-head {
  text-align: center;
  max-width: 780px;
  margin-bottom: 48px;
}

.toh-section-head h2,
.toh-final h2 {
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1;
  margin: 0 0 18px;
  font-weight: 300;
  letter-spacing: .06em;
  color: #fff;
}

.toh-section-head p:not(.toh-kicker),
.toh-final p {
  color: var(--toh-muted);
  font-size: 1.05rem;
}

.toh-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.toh-feature-card {
  min-height: 280px;
  padding: 34px;
  border: 1px solid var(--toh-line);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  text-decoration: none;
  color: #fff;
  transition: all .3s ease;
}

.toh-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--toh-gold);
  color: #fff;
}

.toh-feature-card span {
  color: var(--toh-gold);
  letter-spacing: .16em;
  font-size: .75rem;
}

.toh-feature-card h3 {
  margin: 52px 0 12px;
  color: #fff;
  font-size: 1.6rem;
}

.toh-feature-card p {
  color: var(--toh-muted);
}

.toh-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.toh-gallery-card {
  margin: 0;
  background: #111;
  border: 1px solid var(--toh-line);
  overflow: hidden;
}

.toh-gallery-card img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  display: block;
  filter: saturate(.95) contrast(1.05);
  transition: transform .35s ease, filter .35s ease;
}

.toh-gallery-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.08);
}

.toh-gallery-card figcaption {
  min-height: 54px;
  padding: 13px 15px;
  color: var(--toh-muted);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.toh-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.toh-story-grid a {
  min-height: 230px;
  padding: 34px;
  border: 1px solid var(--toh-line);
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.01));
  transition: all .3s ease;
}

.toh-story-grid a:hover {
  transform: translateY(-6px);
  border-color: var(--toh-gold);
}

.toh-story-grid h3 {
  color: #fff;
  margin-top: 0;
}

.toh-story-grid p {
  color: var(--toh-muted);
}

.toh-final {
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(212,175,55,.12), transparent 40%),
    var(--toh-bg);
}

@media (max-width: 1100px) {
  .toh-feature-grid,
  .toh-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .toh-hero-inner h1 {
    font-size: clamp(3rem, 15vw, 5.5rem);
  }

  .toh-feature-grid,
  .toh-gallery-grid,
  .toh-story-grid {
    grid-template-columns: 1fr;
  }

  .toh-gallery-card img {
    height: 245px;
  }

  .toh-section-v2 {
    padding: 70px 22px;
  }
}
