/* ============================================================
   HLS Trading — Landing Page
   Design: Mountain Horizon / Warm Editorial Luxury
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --cream:        #faf3e8;
  --cream-mid:    #f2e8d5;
  --navy:         #1e2d4a;
  --navy-deep:    #0d1b2e;
  --coral:        #e8895a;
  --coral-hover:  #d4733f;
  --body:         #4a5060;
  --muted:        #8a8278;
  --white:        #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-w:        1100px;
  --max-w-narrow: 720px;
  --nav-h:        68px;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std:     cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--body);
  background: var(--cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ── Layout helpers ─────────────────────────────────────── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 2.5rem);
}

.section-inner--narrow {
  max-width: var(--max-w-narrow);
  text-align: center;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.1rem;
}

.section-label--light { color: rgba(250, 195, 160, 0.8); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
}

.section-title--light { color: var(--white); }

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  transition: background 0.3s var(--ease-std), box-shadow 0.3s var(--ease-std);
}

.nav.nav--scrolled {
  background: rgba(250, 243, 232, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(30, 45, 74, 0.08);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: opacity 0.2s;
}

.nav__logo:hover { opacity: 0.75; }

.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--navy);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}

.nav__link:hover {
  color: var(--coral);
  background: rgba(232, 137, 90, 0.07);
}

.nav__link--cta {
  background: var(--navy);
  color: var(--white);
  margin-left: 0.5rem;
  padding: 0.5rem 1.1rem;
}

.nav__link--cta:hover {
  background: var(--coral);
  color: var(--white);
}

/* Mobile burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile nav drawer */
.nav__drawer {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  background: rgba(250, 243, 232, 0.98);
  border-top: 1px solid rgba(30, 45, 74, 0.08);
}

.nav__drawer.open { display: flex; }

.nav__drawer .nav__link {
  padding: 0.75rem 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(30, 45, 74, 0.06);
  font-size: 1rem;
}

.nav__drawer .nav__link--cta {
  margin-left: 0;
  margin-top: 0.75rem;
  text-align: center;
  border-bottom: none;
  border-radius: 6px;
}

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

@keyframes ruleExpand {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-h);
  background: var(--cream);
  overflow: hidden;
}


.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem clamp(2rem, 4vw, 3rem);
}


.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 24px var(--cream), 0 0 48px var(--cream);
  animation: fadeUp 0.7s var(--ease) 0.1s both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-shadow: 0 0 40px var(--cream), 0 0 80px var(--cream);
  animation: fadeUp 0.9s var(--ease) 0.25s both;
}

.hero__rule {
  width: 48px;
  height: 2px;
  background: var(--coral);
  margin: 1.75rem auto;
  transform-origin: left center;
  animation: ruleExpand 0.7s var(--ease) 0.8s both;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 300;
  font-style: italic;
  color: var(--navy);
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 32px var(--cream), 0 0 64px var(--cream);
  animation: fadeUp 0.7s var(--ease) 0.65s both;
}

.hero__tagline {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--navy);
  margin-bottom: 2.5rem;
  text-shadow: 0 0 24px var(--cream), 0 0 48px var(--cream);
  animation: fadeUp 0.7s var(--ease) 0.8s both;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  padding: 0.75rem 1.6rem;
  transition: background 0.25s var(--ease-std), border-color 0.25s var(--ease-std), transform 0.25s var(--ease);
  animation: fadeUp 0.7s var(--ease) 0.95s both;
}

.hero__cta:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
  transform: translateY(-2px);
}

.hero__cta::after {
  content: '↓';
  font-style: normal;
  transition: transform 0.3s var(--ease);
}

.hero__cta:hover::after { transform: translateY(3px); }

.hero__mountains {
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 120%;
  /* left: 0;
  width: 100%; */
  line-height: 0;
  z-index: 1;
  animation: fadeUp 1.2s var(--ease) 0.4s both;
}

.hero__mountains img {
  width: 100%;
  height: auto;
  max-height: 110vh;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ── ABOUT ──────────────────────────────────────────────── */
.about { background: var(--cream); }

.about .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.about__text {
  font-size: 1.05rem;
  color: var(--body);
  line-height: 1.75;
  max-width: 520px;
}

.about__stats {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 3.5rem; /* align with text body */
}

.stat { display: flex; flex-direction: column; gap: 0.35rem; }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.stat__num sup {
  font-size: 0.45em;
  vertical-align: super;
  font-weight: 400;
}

.stat__label {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* thin divider between about and strategy */
.about::after {
  content: '';
  display: block;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 1px;
  background: rgba(30, 45, 74, 0.08);
}

/* ── STRATEGY ───────────────────────────────────────────── */
.strategy {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

/* subtle texture */
.strategy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(255,255,255,0.015) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(255,255,255,0.015) 80px
    );
  pointer-events: none;
}

.strategy .section-inner { position: relative; }

.strategy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.strategy-card {
  padding: 2rem 1.75rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  transition: background 0.3s var(--ease-std), transform 0.35s var(--ease), border-color 0.3s;
}

.strategy-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-5px);
  border-color: rgba(232, 137, 90, 0.3);
}

.strategy-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
  color: var(--coral);
  opacity: 0.55;
  margin-bottom: 1.25rem;
  transition: opacity 0.3s;
}

.strategy-card:hover .strategy-card__num { opacity: 0.85; }

.strategy-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.strategy-card__desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(250, 243, 232, 0.5);
  font-weight: 300;
}

/* ── TEAM ───────────────────────────────────────────────── */
.team { background: var(--cream); }

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 0.5rem;
}

.team-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(30, 45, 74, 0.07);
  box-shadow: 0 4px 24px rgba(30, 45, 74, 0.06);
  transition: box-shadow 0.3s var(--ease-std), transform 0.35s var(--ease), border-color 0.3s;
}

.team-card:hover {
  box-shadow: 0 8px 40px rgba(30, 45, 74, 0.1);
  transform: translateY(-4px);
  border-color: rgba(232, 137, 90, 0.25);
}

.team-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral) 0%, #c4603a 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}

.team-card__role {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.85rem;
}

.team-card__bio {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 0.85rem;
}

.team-card__credentials {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.02em;
  border-top: 1px solid rgba(30, 45, 74, 0.06);
  padding-top: 0.85rem;
}

/* ── CAREERS ────────────────────────────────────────────── */
.careers { background: var(--cream-mid); }

.careers__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 2.25rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: 5px;
  transition: background 0.25s var(--ease-std), transform 0.25s var(--ease);
}

.btn-primary:hover {
  background: var(--coral);
  transform: translateY(-2px);
}

.btn-primary::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}

.btn-primary:hover::after { transform: translateX(4px); }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: rgba(250, 243, 232, 0.55);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem) 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(250, 243, 232, 0.9);
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}

.footer__tagline {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(250, 243, 232, 0.35);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer__nav a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(250, 243, 232, 0.5);
  transition: color 0.2s;
}

.footer__nav a:hover { color: var(--coral); }

.footer__contact {
  text-align: right;
}

.footer__contact a {
  font-size: 0.88rem;
  color: rgba(250, 243, 232, 0.55);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.footer__contact a:hover { color: var(--coral); }

.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: rgba(250, 243, 232, 0.3);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__bottom a {
  color: rgba(250, 243, 232, 0.35);
  transition: color 0.2s;
}

.footer__bottom a:hover { color: rgba(250, 243, 232, 0.65); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .strategy__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .about .section-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__contact { text-align: center; }

  .footer__nav { flex-direction: row; justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero__mountains img { width: 100%; }

  .team-card {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .team-card__avatar {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }
}
