/* High Desert Media — Redesigned Stylesheet */
/* Aesthetic: Harsh Editorial                                           */
/* Syne (display) + Karla (body)                         */
/* Documentary film journal meets Nevada desert precision               */

:root {
  --sand:     #D4A853;
  --burnt:    #B8621A;
  --earth:    #1A1008;
  --clay:     #2E1A06;
  --sage:     #7A8C6E;
  --cream:    #F0EAD6;
  --charcoal: #0E0904;
  --white:    #FFFFFF;
  --rule:     rgba(212, 168, 83, 0.2);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

::selection {
  background: var(--sand);
  color: var(--charcoal);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--charcoal);
  color: var(--cream);
  line-height: 1.7;
}

/* ── ENTRANCE ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.35s; }
[data-reveal-delay="4"] { transition-delay: 0.5s; }

/* ── NAVIGATION ── */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 4rem;
  background: rgba(14, 9, 4, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease;
}

.main-nav.nav-scrolled {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  background: rgba(14, 9, 4, 0.97);
}

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 64px;
  width: auto;
  display: block;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-nav.nav-scrolled .nav-logo img {
  height: 42px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.main-nav ul a {
  position: relative;
  color: var(--cream);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: color 0.3s, opacity 0.3s;
  white-space: nowrap;
}

.main-nav ul a::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-nav ul a:hover::after {
  transform: scaleX(1);
}

.main-nav ul a:hover,
.main-nav ul a.active {
  color: var(--sand);
  opacity: 1;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  will-change: transform;
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(8,4,1,0.82) 0%, rgba(8,4,1,0.55) 50%, rgba(8,4,1,0.08) 100%),
    url('images/HDM Camera.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 8rem 12vh;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

.hero-eyebrow {
  position: relative;
  z-index: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0;
  margin-bottom: 1.6rem;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero h1 {
  position: relative;
  z-index: 1;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  max-width: 700px;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.58;
  animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--sand);
  font-weight: 400;
}

.hero p {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 420px;
  margin-bottom: 3rem;
  line-height: 2;
  color: var(--cream);
  opacity: 0.6;
  animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.hero .btn {
  position: relative;
  z-index: 1;
  animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 1px solid rgba(212, 168, 83, 0.6);
  color: var(--sand);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.btn:hover {
  background: var(--sand);
  color: var(--charcoal);
  border-color: var(--sand);
}

.btn-solid {
  background: var(--sand);
  color: var(--charcoal);
  border-color: var(--sand);
}

.btn-solid:hover {
  background: var(--burnt);
  border-color: var(--burnt);
  color: var(--white);
}

/* ── SECTION BASELINE ── */
section {
  padding: 7rem 8rem;
}

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.2rem;
  display: block;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.05;
  margin-bottom: 2rem;
  max-width: 560px;
}

/* ── DESERT RULE ── */
.desert-divider {
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--sand) 30%, var(--burnt) 50%, var(--sand) 70%, transparent 100%);
  opacity: 0.35;
  border: none;
}

/* ── ABOUT ── */
.about {
  background: var(--earth);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text p {
  font-size: 0.95rem;
  font-weight: 300;
  opacity: 0.75;
  line-height: 2;
  margin-bottom: 1.4rem;
  max-width: 460px;
}

.founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.founder-photo {
  position: relative;
  margin-bottom: 1.4rem;
}

.founder-photo::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--rule);
  pointer-events: none;
  z-index: 0;
  transition: border-color 0.4s;
}

.founder-photo:hover::before {
  border-color: rgba(212, 168, 83, 0.45);
}

.founder-photo img {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 395px;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: contrast(1.04);
}

.founder-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.founder-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.2rem;
}

.founder-bio {
  font-size: 0.88rem;
  line-height: 1.9;
  opacity: 0.6;
  max-width: 280px;
  font-weight: 300;
}

/* ── SERVICES ── */
.services {
  background: var(--charcoal);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  border: 1px solid var(--rule);
}

.service-card {
  position: relative;
  padding: 3.5rem;
  overflow: hidden;
  transition: background 0.4s;
  border-right: 1px solid var(--rule);
}

.service-card:last-child {
  border-right: none;
}


.service-card:hover {
  background: rgba(212, 168, 83, 0.04);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, var(--sand), var(--burnt));
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::before {
  width: 100%;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(to right, rgba(212, 168, 83, 0.06), transparent);
  transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.service-card:hover::after {
  width: 100%;
}

.service-card .icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-bottom: 1.6rem;
  color: var(--sand);
  display: block;
  opacity: 0.8;
}

.service-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.service-card p {
  font-size: 0.88rem;
  font-weight: 300;
  opacity: 0.65;
  line-height: 2;
  max-width: 320px;
}

/* ── PROCESS STRIP ── */
.process {
  background: var(--clay);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.process-item {
  padding: 4rem 3.5rem;
  border-right: 1px solid rgba(212, 168, 83, 0.12);
  position: relative;
  transition: background 0.35s;
}

.process-item:last-child {
  border-right: none;
}

.process-item:hover {
  background: rgba(212, 168, 83, 0.04);
}

.process-num {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 5rem;
  font-weight: 200;
  line-height: 1;
  color: var(--sand);
  opacity: 0.2;
  margin-bottom: 0.8rem;
  letter-spacing: 0.1em;
}

.process-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.6;
  display: block;
}

/* ── FOOTER ── */
footer {
  background: #060402;
  padding: 3.5rem 8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule);
}

.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.7;
}

footer p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  opacity: 0.3;
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-family: 'Oswald', sans-serif;
  font-style: italic;
  font-size: 0.85rem;
  opacity: 0.25 !important;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  padding: 0;
  margin: 0;
}

footer nav ul a {
  color: var(--cream);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.3;
  transition: opacity 0.3s, color 0.3s;
}

footer nav ul a:hover {
  opacity: 1;
  color: var(--sand);
}

/* ── UTILITY PAGES ── */
.utility-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 8rem 6rem;
}

.utility-page p:not(.section-label) {
  font-weight: 300;
  opacity: 0.6;
  max-width: 420px;
  line-height: 2;
}

/* ── CONTACT PAGE ── */
.contact-hero {
  min-height: 38vh;
  background:
    linear-gradient(to bottom, rgba(8,4,1,0.15), rgba(8,4,1,0.75)),
    url('images/HDM Camera.jpg') center 60%/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 110px 8rem 4rem;
}

.contact-body {
  background: var(--earth);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.contact-info a {
  color: var(--sand);
  text-decoration: none;
  transition: opacity 0.3s;
}

.contact-info a:hover { opacity: 0.7; }

.contact-info h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--sand);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.contact-info p {
  font-size: 0.88rem;
  font-weight: 300;
  opacity: 0.7;
  margin-bottom: 2.2rem;
  line-height: 1.9;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

form input,
form textarea,
form select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212, 168, 83, 0.2);
  color: var(--cream);
  padding: 0.9rem 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none;
}

form input::placeholder,
form textarea::placeholder { opacity: 0.35; }

form input:focus,
form textarea:focus,
form select:focus {
  border-color: rgba(212, 168, 83, 0.6);
  background: rgba(255,255,255,0.06);
}

form textarea {
  resize: vertical;
  min-height: 140px;
}

form select option { background: var(--earth); }

/* ── PARTNERS ── */
.partners {
  background: var(--clay);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 5rem 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
}

.partners-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.6;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7rem;
  flex-wrap: wrap;
}

.partner-link {
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.35s ease;
  text-decoration: none;
}

.partner-link:hover {
  opacity: 1;
}

.partner-link img {
  height: 42px;
  width: auto;
  display: block;
}

.partners-divider {
  width: 1px;
  height: 48px;
  background: var(--rule);
  flex-shrink: 0;
}

/* ── FLOATING CTA ── */
.float-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 1px solid var(--sand);
  color: var(--charcoal);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--sand);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease,
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              color 0.3s ease,
              border-color 0.3s ease;
  pointer-events: none;
}

.float-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-cta:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--charcoal);
}

/* ── MOBILE NAV TOGGLE ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.main-nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.main-nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.main-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── RESPONSIVE: TABLET ── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .main-nav {
    padding: 0.5rem 2rem;
  }

  .main-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 6, 2, 0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem 0 1.2rem;
  }

  .main-nav.open ul { display: flex; }

  .main-nav ul a {
    display: block;
    padding: 0.9rem 2rem;
  }

  .hero {
    padding: 0 2.5rem 10vh;
    background:
      linear-gradient(to bottom, rgba(8,4,1,0.3) 0%, rgba(8,4,1,0.85) 100%),
      url('images/HDM Camera.jpg') center top/150% auto no-repeat;
  }

  section { padding: 4.5rem 2.5rem; }

  .about,
  .contact-body {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .services-grid { grid-template-columns: 1fr; }

  .service-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .service-card:last-child { border-bottom: none; }

  .process {
    grid-template-columns: 1fr;
  }

  .process-item {
    border-right: none;
    border-bottom: 1px solid rgba(212, 168, 83, 0.12);
    padding: 2.5rem 2.5rem;
  }

  .process-item:last-child { border-bottom: none; }

  .process-num { font-size: 3.5rem; }

  footer {
    padding: 2.5rem;
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }

  footer nav ul { justify-content: center; }

  .contact-hero { padding: 6rem 2.5rem 3rem; }

  .form-row { grid-template-columns: 1fr; }

  .partners { padding: 3.5rem 2.5rem; gap: 2rem; }
  .partners-logos { gap: 3.5rem; }
  .partners-divider { display: none; }

  .float-cta { bottom: 1.2rem; right: 1.2rem; }
}

/* ── RESPONSIVE: MOBILE ── */
@media (max-width: 580px) {
  .main-nav { padding: 0.4rem 1rem; }

  .partners { padding: 2.5rem 1.5rem; }
  .partners-logos { flex-direction: column; gap: 2rem; }

  .float-cta { padding: 0.75rem 1.4rem; }

  .nav-logo img { height: 50px; }

  .hero { padding: 0 1.5rem 8vh; }

  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.2rem); }

  .hero-eyebrow { font-size: 0.58rem; }

  .section-title { font-size: clamp(2rem, 8vw, 3rem); }

  .founder-photo img { width: 240px; height: 315px; }

  section { padding: 3.5rem 1.5rem; }

  footer { padding: 2rem 1.5rem; }

  .process-item { padding: 2rem 1.5rem; }
}
