/* ============================================================
   FANTHIUM — fanthium.com
   Dark / clean design · white on #0a0a0a · wine red accent
   Typography: Montserrat (300 display / 400 body)
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --card: #161616;
  --card-border: #262626;
  --text: #ffffff;
  --text-dim: #d8d4d5;
  --text-faint: #9a9395;
  --wine: #5a1f2b;          /* Fanthium brand red (dark) */
  --wine-mid: #7d2b3c;
  --wine-bright: #a53a50;   /* accents / hovers */
  --wine-glow: rgba(122, 33, 51, 0.55);
  --pill: 999px;
  --max: 1240px;
  --pad: clamp(16px, 4vw, 48px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { position: relative; padding: clamp(70px, 12vh, 130px) 0; }

/* ---------- section label:  // label ---------- */
.label {
  display: inline-flex;
  align-items: baseline;
  gap: .55em;
  font-size: clamp(14px, 1.4vw, 19px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 400;
  margin-bottom: .6em;
}
.label::before {
  content: "//";
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0;
  color: var(--wine-bright);
  font-size: 1.35em;
}

/* ---------- giant display headline ---------- */
.display {
  font-size: clamp(42px, 7.2vw, 96px);
  font-weight: 300;
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--text);
}

/* ---------- nav ---------- */
header.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(10,10,10,.92), rgba(10,10,10,.75) 70%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand span {
  font-weight: 600;
  letter-spacing: .22em;
  font-size: 15px;
}
nav.menu { display: flex; align-items: center; gap: clamp(10px, 2vw, 34px); }
nav.menu a {
  font-size: 15px;
  padding: 9px 16px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  transition: border-color .25s, background .25s;
  white-space: nowrap;
}
nav.menu a:hover { border-color: var(--card-border); background: rgba(255,255,255,.04); }
.nav-cta {
  background: rgba(122, 33, 51, .8);
  border: 1px solid rgba(255,255,255,.35) !important;
  padding: 11px 26px !important;
  font-weight: 500;
}
.nav-cta:hover { background: var(--wine-mid) !important; }
.lang-switch {
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--text-faint);
  border: 1px solid var(--card-border);
  border-radius: var(--pill);
  padding: 7px 14px !important;
}
.lang-switch:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: rgba(122, 33, 51, .82);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  border-radius: var(--pill);
  padding: 15px 36px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 0 30px rgba(122,33,51,.25);
}
.btn:hover {
  background: var(--wine-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 40px rgba(165,58,80,.35);
}

/* ---------- hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 140px;
  background:
    radial-gradient(1000px 520px at 78% 88%, rgba(90,31,43,.5), transparent 65%),
    radial-gradient(800px 420px at 12% 20%, rgba(90,31,43,.22), transparent 60%),
    var(--bg);
}
.hero-head { text-align: center; }
.hero-head .pre {
  display: block;
  text-align: left;
  margin-left: 6%;
}
.hero-head .post {
  display: flex;
  justify-content: flex-end;
  margin-right: 6%;
}
.hero-title {
  font-size: clamp(46px, 9vw, 122px);
  font-weight: 300;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: .005em;
}
.hero-sub {
  margin-top: clamp(50px, 10vh, 110px);
  display: grid;
  grid-template-columns: 1fr minmax(300px, 470px);
  gap: 40px;
  align-items: end;
}
.hero-sub p { color: var(--text-dim); font-size: 18px; }
.hero-sub .btn { justify-self: start; margin-top: 26px; }

/* ---------- who we are ---------- */
.who-grid {
  display: grid;
  grid-template-columns: minmax(260px, 400px) 1fr;
  align-items: start;
  gap: clamp(30px, 5vw, 80px);
}
.who-copy p { color: var(--text-dim); margin-bottom: 1.2em; }
.who-visual {
  max-height: 500px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(400px 300px at 70% 30%, rgba(122,33,51,.5), transparent 70%),
    var(--card);
  border: 1px solid var(--card-border);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.who-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- stats ---------- */
.stats {
  margin-top: clamp(50px, 8vh, 90px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px;
}
.stat { display: flex; align-items: center; gap: 20px; }
.stat .bubble {
  flex: 0 0 auto;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #241417, #150c0e 70%);
  border: 1px solid #2e1a1f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .01em;
  box-shadow: inset 0 0 24px rgba(122,33,51,.25);
}
.stat .desc { color: var(--text-dim); font-size: 15.5px; line-height: 1.45; }

/* ---------- services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 760px);
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.services-head { position: sticky; top: 120px; }
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.card {
  background: linear-gradient(160deg, #1a1416 0%, #141012 60%, #12090c 100%);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 34px 28px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: #3a2228;
  box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 40px rgba(122,33,51,.15);
}
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(122,33,51,.28);
  border: 1px solid rgba(165,58,80,.4);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: auto;
}
.card .icon svg { width: 22px; height: 22px; stroke: var(--wine-bright); }
.card h3 { font-size: 21px; font-weight: 500; line-height: 1.3; }
.card p { color: var(--text-dim); font-size: 15.5px; }

/* ---------- testimonials ---------- */
.testi .display { font-size: clamp(34px, 4.6vw, 62px); overflow-wrap: break-word; }
.testi {
  background:
    radial-gradient(900px 500px at 85% 40%, rgba(90,31,43,.45), transparent 65%),
    var(--bg);
}
.testi-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 640px);
  gap: clamp(30px, 4vw, 70px);
  align-items: center;
}
.testi-slider { position: relative; }
.testi-slide { display: none; }
.testi-slide.active { display: block; animation: fadeUp .5s ease; }
.testi-slide .photo {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--card);
  aspect-ratio: 4 / 3.4;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
  font-size: 14px;
  letter-spacing: .08em;
}
.testi-slide .photo img { width: 100%; height: 100%; object-fit: cover; }
.testi-slide blockquote {
  margin-top: 26px;
  font-size: 17.5px;
  color: var(--text-dim);
  font-style: normal;
}
.testi-slide cite { display: block; margin-top: 14px; font-style: normal; color: var(--wine-bright); font-weight: 500; }
.slider-nav { display: flex; gap: 14px; margin-top: 28px; }
.slider-nav button {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--card-border);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.slider-nav button:hover { border-color: var(--wine-bright); background: rgba(122,33,51,.2); }

/* ---------- success stories ---------- */
.stories-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.stories-track {
  margin-top: 50px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 320px);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x mandatory;
}
.stories-track::-webkit-scrollbar { height: 6px; }
.stories-track::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
.story {
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.story .photo {
  aspect-ratio: 3/3.1;
  background: linear-gradient(160deg, #1c1c1c, #101010);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint); font-size: 13px; letter-spacing: .08em;
}
.story .photo img { width: 100%; height: 100%; object-fit: cover; }
.story .body { padding: 22px 20px 26px; }
.story .metric { font-weight: 600; font-size: 16.5px; margin-bottom: 4px; }
.story .time { color: var(--wine-bright); font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.story p { color: var(--text-dim); font-size: 14.5px; }
.story cite { display: block; margin-top: 12px; font-style: normal; color: var(--text-faint); font-size: 13.5px; }

/* ---------- onboarding ---------- */
.onb-head { display: grid; grid-template-columns: 1fr minmax(280px, 460px); gap: 40px; align-items: end; }
.onb-head p { color: var(--text-dim); text-align: right; }
.steps {
  margin-top: clamp(50px, 9vh, 90px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px 70px;
}
.step { display: flex; gap: 26px; align-items: flex-start; }
.step .num {
  flex: 0 0 auto;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #241417, #140d0f 70%);
  border: 1px solid #2e1a1f;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 300;
  box-shadow: inset 0 0 24px rgba(122,33,51,.25);
}
.step h3 { font-size: 18.5px; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 15.5px; }

/* ---------- final CTA ---------- */
.cta {
  background:
    radial-gradient(900px 480px at 50% 100%, rgba(90,31,43,.55), transparent 70%),
    var(--bg);
  text-align: center;
}
.cta p { max-width: 640px; margin: 24px auto 38px; color: var(--text-dim); }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid #1c1c1c;
  background: linear-gradient(160deg, #100d0e 0%, #0a0a0a 55%, #120a0d 100%);
  padding: 70px 0 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(30px, 6vw, 110px);
  padding-bottom: 60px;
}
.foot-brand img { height: 54px; }
.foot-col h4 { font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.foot-col a { display: block; color: var(--text-dim); font-size: 15px; margin-bottom: 12px; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid #1c1c1c;
  padding: 24px 0;
  color: var(--text-faint);
  font-size: 14px;
}

/* ---------- legal pages ---------- */
.legal-page { padding-top: 160px; max-width: 820px; }
.legal-page h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 300; text-transform: uppercase; margin-bottom: 40px; }
.legal-page h2 { font-size: 20px; font-weight: 600; margin: 34px 0 10px; }
.legal-page p, .legal-page li { color: var(--text-dim); font-size: 15.5px; }

.section-note {
  color: var(--text-faint);
  font-size: 15px;
  margin-top: 14px;
  max-width: 560px;
}

/* ---------- animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .who-grid, .services-grid, .testi-grid, .onb-head, .hero-sub { grid-template-columns: 1fr; }
  .services-head { position: static; }
  .onb-head p { text-align: left; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  nav.menu {
    position: fixed;
    top: 70px; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #111;
    border: 1px solid #222;
    border-radius: 14px;
    margin: 0 16px;
    padding: 16px;
    display: none;
  }
  nav.menu.open { display: flex; }
  .nav-toggle { display: block; }
  .cards { grid-template-columns: 1fr; }
  .hero-head .pre { margin-left: 0; }
  .hero-head .post { margin-right: 0; }
}
