/* =========================================================
   HORUS ADVISORS LLC — Single-page vitrine
   Sober anthracite theme · Jost sans + Fraunces accent
   ========================================================= */

:root {
  /* Anthracite palette — dark, but not pure black */
  --bg:         #1a1d23;   /* base anthracite */
  --bg-alt:     #15181d;   /* darker stripe for contrast */
  --bg-soft:    #1f232a;   /* slightly lifted surface */
  --bg-card:    #232832;   /* cards & lifted surfaces */

  --ink:        #ece7db;
  --ink-dim:    #9d9a91;
  --ink-mute:   #5d5a52;

  --gold:       #c9a35b;
  --gold-soft:  #dcb877;

  --rule:       rgba(201, 163, 91, 0.25);
  --rule-soft:  rgba(236, 231, 219, 0.08);

  --sans:   'Jost', system-ui, sans-serif;
  --serif:  'Fraunces', 'Times New Roman', serif;

  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Gold italic serif accent — used sparingly */
.accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  font-feature-settings: "ss01";
}

/* Grain overlay */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: relative;
  z-index: 5;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
}

.nav__mark { display: inline-flex; }

.nav__text { display: flex; flex-direction: column; line-height: 1; }

.nav__name {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink);
}

.nav__sub {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  margin-top: 5px;
}

.nav__links {
  display: flex;
  gap: 36px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.nav__links a { position: relative; transition: color .25s ease; }
.nav__links a:hover { color: var(--gold); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(201,163,91,0.08), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--rule-soft);
}

.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 40px 140px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero__content { min-width: 0; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
  animation: fadeUp .9s .1s both;
}
.hero__eyebrow .line {
  display: inline-block;
  width: 56px; height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  animation: fadeUp .9s .25s both;
}

.hero__lede {
  margin-top: 32px;
  max-width: 52ch;
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 1.75;
  animation: fadeUp .9s .45s both;
}

.hero__cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp .9s .6s both;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all .3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--gold {
  background: var(--gold);
  color: #15181d;
}
.btn--gold:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -10px rgba(201, 163, 91, 0.45);
}
.btn--ghost {
  color: var(--ink-dim);
  border-color: var(--rule-soft);
}
.btn--ghost:hover {
  color: var(--gold);
  border-color: var(--rule);
}

/* Hero visual — stylized horus mark */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 1.2s .4s both;
}
.horus-mark {
  width: 100%;
  max-width: 420px;
  height: auto;
  animation: slowSpin 120s linear infinite;
}
@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero__meta {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 40px 80px;
  border-top: 1px solid var(--rule-soft);
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  animation: fadeUp 1s .85s both;
}
.hero__meta > div { display: flex; flex-direction: column; gap: 6px; }
.hero__meta-label {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero__meta-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 400;
}

/* =========================================================
   SECTIONS (full-width stripes for contrast)
   ========================================================= */
.section {
  position: relative;
  z-index: 2;
  padding: 120px 40px;
  border-top: 1px solid var(--rule-soft);
}
.section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* Alternating backgrounds for contrast */
.section--mission    { background: var(--bg-alt); }
.section--expertises { background: var(--bg); }
.section--approche   { background: var(--bg-alt); }
.section--contact    { background: var(--bg); }
.section--legal      { background: var(--bg-alt); }

.section__label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.section__title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 18ch;
}

/* --- MISSION --- */
.mission {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.mission__text-col { display: flex; flex-direction: column; gap: 24px; }
.mission__text-col .section__title { margin-bottom: 16px; }
.mission__text {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.8;
}

.mission__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--rule-soft);
}
.mission__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.75);
  transition: filter .6s ease, transform .8s ease;
}
.mission__visual:hover img {
  filter: grayscale(40%) contrast(1.05) brightness(0.85);
  transform: scale(1.03);
}
.mission__visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21,24,29,0.1) 0%, rgba(21,24,29,0.8) 100%),
    radial-gradient(ellipse at top right, rgba(201,163,91,0.12), transparent 60%);
  pointer-events: none;
}
.mission__visual-tag {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  display: flex;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

/* --- EXPERTISES --- */
.expertises {
  list-style: none;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
}
.expertise {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  transition: background .4s ease;
}
.expertise:hover { background: var(--bg-soft); }
.expertise__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.expertise h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 24px;
  color: var(--ink);
  line-height: 1.1;
}
.expertise p {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.7;
}

/* --- APPROCHE --- */
.approche__header {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: end;
}
.approche__lede {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.7;
  max-width: 42ch;
}
.steps {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step {
  padding: 36px 0 0;
  border-top: 1px solid var(--rule);
  position: relative;
}
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.step h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  margin: 12px 0 16px;
  line-height: 1;
}
.step p {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.75;
}

/* --- CONTACT --- */
.contact__intro {
  margin-top: 32px;
  font-size: 16px;
  color: var(--ink-dim);
  max-width: 52ch;
  line-height: 1.75;
}
.contact__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact__card {
  padding: 32px;
  border: 1px solid var(--rule-soft);
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .3s ease, background .3s ease;
}
.contact__card:hover {
  border-color: var(--rule);
  background: var(--bg-card);
}
.contact__label {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact__value {
  font-family: var(--sans);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.65;
}
.contact__value--link {
  color: var(--gold);
  transition: color .2s ease;
}
.contact__value--link:hover { color: var(--gold-soft); }

/* --- LEGAL --- */
.legal__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.legal__link {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule);
  transition: color .2s ease;
}
.legal__link:hover { color: var(--gold-soft); }

.legal {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 64px;
}
.legal__block h4 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-soft);
}
.legal__block p {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.75;
}
.legal__block p + p { margin-top: 10px; }
.legal__block strong { color: var(--ink); font-weight: 500; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  z-index: 2;
  background: var(--bg-alt);
  border-top: 1px solid var(--rule-soft);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-dim);
}
.footer__mark {
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
}
.footer__links {
  display: flex;
  gap: 28px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
}
.footer__links a { transition: color .2s ease; }
.footer__links a:hover { color: var(--gold); }
.footer__copy {
  font-size: 11px;
  letter-spacing: 0.1em;
}

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

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 40px 24px 96px; }
  .hero__visual { order: -1; max-width: 320px; margin: 0 auto; }
  .hero__meta { grid-template-columns: 1fr; gap: 20px; padding: 24px 24px 64px; }
  .nav { padding: 24px; }
  .nav__links { display: none; }
  .section { padding: 80px 24px; }
  .mission { grid-template-columns: 1fr; gap: 40px; }
  .approche__header { grid-template-columns: 1fr; gap: 20px; }
  .expertises { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; gap: 32px; }
  .footer__inner { flex-direction: column; text-align: center; padding: 32px 24px; }
}

@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
}
