/* ============================================================
   index.css — landing page specific styles
   ============================================================ */

html, body { height: 100%; }

/* Mountain SVG backdrop */
.mountain-bg {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%; height: 65vh;
  z-index: 0;
  opacity: 0;
  animation: fadeIn 2.4s ease forwards 0.4s;
}

/* Main layout */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem);
}

/* Status row (replaces old header/logo) */
.status-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 4rem;
  opacity: 0;
  transform: translateY(-12px);
  animation: rise 1s ease forwards 0.2s;
}

.status-badge {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.55rem;
  font-weight: 200;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dust);
  border: 1px solid rgba(158,148,135,0.3);
  padding: 0.5rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 5px; height: 5px;
  background: #7eb87e;
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 8vh, 6rem) 0 clamp(1rem, 4vh, 3rem);
}

.hero-text { display: flex; flex-direction: column; }

.eyebrow {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(0.55rem, 0.9vw, 0.65rem);
  font-weight: 200;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--dust);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: rise 1s ease forwards 0.5s;
}

h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--snow);
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1.2s ease forwards 0.7s;
}

h1 em { font-style: italic; color: var(--dust); }

.tagline {
  margin-top: clamp(2rem, 4vh, 3rem);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  color: var(--dust);
  max-width: 38ch;
  line-height: 1.65;
  opacity: 0;
  animation: rise 1s ease forwards 1.1s;
}

/* Services strip */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  opacity: 0;
  animation: rise 1s ease forwards 1.3s;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(158,148,135,0.18);
  margin-right: -1px;
  margin-bottom: -1px;
}

.service-item:first-child { padding-left: 0; border-left: none; }

.service-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.5rem;
  font-weight: 200;
  color: var(--dust);
  opacity: 0.6;
}

.service-name {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(0.5rem, 0.75vw, 0.6rem);
  font-weight: 200;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

/* CTA */
.cta-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: clamp(2.5rem, 5vh, 4rem);
  opacity: 0;
  animation: rise 1s ease forwards 1.5s;
}

.cta-btn {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--stone);
  padding: 1rem 2.2rem;
  display: inline-block;
  transition: background 0.3s ease, color 0.3s ease;
}

.cta-btn:hover { background: var(--snow); }

/* Photo placeholder */
.hero-photo {
  position: relative;
  height: clamp(340px, 55vh, 600px);
  opacity: 0;
  animation: rise 1.2s ease forwards 1.0s;
}

.photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, rgba(61,56,48,0.6) 0%, rgba(26,24,20,0.9) 100%);
  border: 1px solid rgba(158,148,135,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.photo-placeholder:hover { border-color: rgba(158,148,135,0.4); }

.photo-placeholder::before,
.photo-placeholder::after {
  content: '';
  position: absolute;
  background: rgba(158,148,135,0.15);
}

.photo-placeholder::before { width: 1px; height: 40px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.photo-placeholder::after  { width: 40px; height: 1px; top: 50%; left: 50%; transform: translate(-50%,-50%); }

.photo-label {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.52rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dust);
  opacity: 0.5;
  margin-top: 3rem;
}

.photo-sublabel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--dust);
  opacity: 0.35;
}

.photo-corner {
  position: absolute;
  width: 16px; height: 16px;
  border-color: rgba(158,148,135,0.25);
  border-style: solid;
}

.photo-corner.tl { top: 16px; left: 16px; border-width: 1px 0 0 1px; }
.photo-corner.tr { top: 16px; right: 16px; border-width: 1px 1px 0 0; }
.photo-corner.bl { bottom: 16px; left: 16px; border-width: 0 0 1px 1px; }
.photo-corner.br { bottom: 16px; right: 16px; border-width: 0 1px 1px 0; }

.photo-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* Index-specific footer */
.index-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(158,148,135,0.12);
  opacity: 0;
  animation: rise 1s ease forwards 1.8s;
}

.coordinates {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: #ccc;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { height: 260px; order: -1; }
}

@media (max-width: 600px) {
  .page { padding: 2rem; }
  .services { flex-direction: column; }
  .service-item { border-left: none; padding-left: 0; }
  .cta-group { flex-direction: column; align-items: flex-start; }
}
