:root{
  --navy: #0E1B2E;
  --navy-deep: #091220;
  --gold: #C6A15B;
  --gold-light: #E4CE9C;
  --ivory: #F6F1E7;
  --clay: #E7DCC3;
  --ink: #1B2430;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --content-max: 620px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Brand bar ---------- */
.brand-bar{
  display: flex;
  align-items: center;
  padding: 28px clamp(24px, 5vw, 64px) 0;
}

/* The logo file (assets/logo.png) is used exactly as supplied — no
   recolouring or redrawing. It ships on its own solid-black canvas, so
   we give it a matching plate with a hairline gold edge, rather than
   letting a black rectangle float awkwardly on the navy page background. */
.brand-plate{
  display: inline-flex;
  background: #000;
  border: 1px solid rgba(198,161,91,0.4);
  border-radius: 6px;
  padding: 6px 14px;
  line-height: 0;
}

.brand-logo{
  display: block;
  height: clamp(46px, 6vw, 64px);
  width: auto;
}

/* ---------- Hero layout ---------- */
.hero{
  flex: 1;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.9fr);
  align-items: stretch;
}

.hero__content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 48px clamp(24px, 6vw, 72px);
  max-width: var(--content-max);
}

.eyebrow{
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
}

.headline{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--white);
}

.rule{
  display: block;
  height: 2px;
  width: 84px;
  background: var(--gold);
  transform-origin: left;
  animation: draw-rule 1.1s cubic-bezier(.4,0,.2,1) 0.15s both;
}

@keyframes draw-rule{
  from{ transform: scaleX(0); }
  to{ transform: scaleX(1); }
}

.lead{
  margin: 0;
  max-width: 46ch;
  color: rgba(246,241,231,0.78);
  font-size: 16.5px;
}

.assist-label{
  margin: 10px 0 0;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  position: relative;
  padding-bottom: 14px;
}
.assist-label::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(198,161,91,0.5), transparent);
}

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

.contact-card{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  border: 1px solid rgba(198,161,91,0.35);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.contact-card:hover,
.contact-card:focus-visible{
  border-color: var(--gold);
  background: rgba(198,161,91,0.08);
  transform: translateY(-2px);
}

.contact-card:focus-visible{
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.contact-card__icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(198,161,91,0.5);
  color: var(--gold);
  flex-shrink: 0;
}

.contact-card__text{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-card__label{
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.contact-card__value{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Visual side ---------- */
.hero__visual{
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.scene{
  width: 100%;
  height: 100%;
  display: block;
}

.sun-glow{
  animation: pulse-glow 8s ease-in-out infinite;
  transform-origin: 560px 430px;
}

@keyframes pulse-glow{
  0%, 100%{ opacity: 0.85; transform: scale(1); }
  50%{ opacity: 1; transform: scale(1.06); }
}

.mtn-far{ animation: drift 22s ease-in-out infinite; }
.mtn-near{ animation: drift 16s ease-in-out infinite reverse; }

@keyframes drift{
  0%, 100%{ transform: translateX(0); }
  50%{ transform: translateX(6px); }
}

.glints{ animation: shimmer 4.5s ease-in-out infinite; }

@keyframes shimmer{
  0%, 100%{ opacity: 0.3; }
  50%{ opacity: 0.65; }
}

/* ---------- Footer ---------- */
.footer{
  background: var(--navy-deep);
  padding: 18px 24px;
  text-align: center;
}

.footer p{
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.footer span{
  color: var(--white);
}

/* ---------- Entrance animation ---------- */
.hero__content > *{
  opacity: 0;
  transform: translateY(14px);
  animation: fade-up 0.7s ease forwards;
}
.eyebrow{ animation-delay: 0.05s; }
.headline{ animation-delay: 0.15s; }
.rule{ animation-delay: 0.15s; }
.lead{ animation-delay: 0.4s; }
.assist-label{ animation-delay: 0.5s; }
.contact-grid{ animation-delay: 0.6s; }

@keyframes fade-up{
  to{ opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .hero{
    grid-template-columns: 1fr;
  }
  .hero__visual{
    order: -1;
    min-height: 220px;
  }
  .hero__content{
    padding: 36px clamp(20px, 6vw, 48px) 44px;
  }
}

@media (max-width: 520px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
  .headline{
    font-size: 2.1rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
