:root {
  --black: #0a0a0a;
  --blue: #00aeef;
  --text: #555;
  --muted: #888;
  --light: #f5f5f5;
  --white: #fff;
  --line: #e5e5e5;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  --width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

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

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

.site-header {
  background: var(--black);
}

.header-inner {
  width: min(calc(100% - 40px), var(--width));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--white);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 28px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
}

.site-nav a:hover {
  color: var(--blue);
}

.hero {
  min-height: 640px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.34)),
    url("assets/zion.jpg") center center / cover no-repeat;
}

.hero-overlay {
  width: min(calc(100% - 40px), var(--width));
  min-height: 640px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-logo {
  width: min(300px, 60vw);
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.28));
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-button {
  min-width: 168px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.84rem;
}

.hero-button-alt {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.tiles {
  background: var(--light);
  padding: 64px 0;
}

.tiles-inner,
.gallery,
.site-footer {
  width: min(calc(100% - 40px), var(--width));
  margin: 0 auto;
}

.tiles-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.tile {
  background: var(--white);
  padding: 32px 32px 36px;
  text-align: center;
  box-shadow: var(--shadow);
}

.tile h2,
.section-head h2 {
  margin: 0 0 24px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
}

.tile img {
  height: 253px;
  width: auto;
  margin: 0 auto 24px;
  object-fit: contain;
}

.tile p,
.section-head p,
.site-footer p {
  margin: 0;
  color: #999;
  line-height: 1.75;
  font-size: 1rem;
}

.gallery {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 28px;
  text-align: center;
}

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

.gallery-card {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.gallery-card-wide {
  grid-column: span 2;
}

.site-footer {
  padding: 24px 0 38px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.site-footer p {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

@media (max-width: 860px) {
  .header-inner,
  .tiles-inner,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    display: block;
    padding: 20px 0;
    text-align: center;
  }

  .brand {
    display: inline-block;
    margin-bottom: 16px;
  }

  .site-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero,
  .hero-overlay {
    min-height: 500px;
  }

  .gallery-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 1.55rem;
  }

  .tile {
    padding-left: 20px;
    padding-right: 20px;
  }

  .tile img {
    height: auto;
  }
}
