/* ==========================================================================
   NOMADIC CLOSER marketing site
   Brand tokens lifted from nomadiccloser.com; layout rhythm modelled on the
   DealFuel reference Joel liked.
   ========================================================================== */

@font-face {
  font-family: "Reckless";
  src: url("../assets/fonts/RecklessNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HelveticaNC";
  src: url("../assets/fonts/Helvetica.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #030303;
  --panel: #070707;
  --panel-2: #0c0c0c;
  --gold: #d1a949;
  --gold-soft: rgba(209, 169, 73, 0.14);
  --gold-line: rgba(209, 169, 73, 0.28);
  --white: #ffffff;
  --text: #c8c8c8;
  --text-dim: #909090;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1240px;
  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "HelveticaNC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: "Reckless", Georgia, serif;
  font-weight: 400;
  color: var(--white);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
p  { margin: 0; }

.gold { color: var(--gold); }
.italic { font-style: italic; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: clamp(72px, 9vw, 130px) 0; }
.section--tight { padding: clamp(56px, 6vw, 90px) 0; }
.section--panel { background: var(--panel); }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.lede { font-size: clamp(1rem, 1.3vw, 1.19rem); color: var(--text); max-width: 62ch; }
.muted { color: var(--text-dim); }
.small { font-size: 0.875rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #12100a; font-weight: 600; }
.btn--gold:hover { background: #e0bb61; }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { width: 15px; height: 15px; }

/* ---------- announcement bar ---------- */
.announce {
  background: rgba(209, 169, 73, 0.09);
  border-bottom: 1px solid var(--gold-line);
  text-align: center;
  padding: 9px 24px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  z-index: 120;
}
.announce a { display: inline-flex; align-items: center; gap: 10px; }
.announce .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.8); } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 110;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(3, 3, 3, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.is-scrolled { background: rgba(3, 3, 3, 0.94); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: 100%; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 0.9rem; color: var(--text); transition: color 0.2s; }
.nav__links a:hover { color: var(--gold); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__cta .btn { padding: 11px 22px; font-size: 0.85rem; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 130;
  background: rgba(3, 3, 3, 0.98);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 40px 28px;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  font-family: "Reckless", Georgia, serif;
  font-size: 2rem; color: var(--white);
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 26px; justify-content: center; }
.mobile-menu__close { position: absolute; top: 26px; right: 26px; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(70px, 8vw, 120px) 0 clamp(50px, 6vw, 80px); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../assets/img/hero-bg.webp") center/cover no-repeat;
  opacity: 0.55;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(58% 52% at 50% 8%, rgba(209,169,73,0.20) 0%, transparent 64%),
    linear-gradient(180deg, rgba(3,3,3,0.55) 0%, rgba(3,3,3,0.78) 48%, rgba(3,3,3,0.96) 82%, var(--bg) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero h1 { max-width: 17ch; }
.hero .lede { text-align: center; max-width: 60ch; font-size: clamp(1rem, 1.35vw, 1.2rem); }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.proof { display: flex; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.proof__avatars { display: flex; }
.proof__avatars span {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -11px;
  background-size: cover; background-position: center;
  display: grid; place-items: center;
  font-size: 0.78rem; color: var(--white);
  background-color: #1a1a1a;
}
.proof__avatars span:first-child { margin-left: 0; }
.proof__text { font-size: 0.82rem; color: var(--text-dim); letter-spacing: 0.02em; }

/* ---------- logo ticker ---------- */
.ticker { overflow: hidden; margin-top: 42px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker__track { display: flex; gap: 56px; width: max-content; animation: slide 38s linear infinite; }
.ticker--rev .ticker__track { animation-direction: reverse; animation-duration: 46s; }
.ticker__item {
  font-family: "Reckless", Georgia, serif;
  font-size: 1.15rem; color: rgba(255,255,255,0.42);
  letter-spacing: 0.04em; white-space: nowrap;
  padding: 10px 0;
  transition: color 0.3s;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item:hover { color: var(--gold); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { padding: 40px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: "Reckless", Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 3.9rem);
  color: var(--white); line-height: 1;
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.stat__label { margin-top: 12px; font-size: 0.86rem; color: var(--text-dim); }

/* ---------- section heads ---------- */
.sec-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: 56px; }
.sec-head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.sec-head--center .lede { text-align: center; }
.sec-head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; max-width: none; gap: 40px; }

/* ---------- cards ---------- */
.card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.card:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card__icon svg { width: 21px; height: 21px; stroke: var(--gold); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; color: var(--text-dim); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ---------- testimonial quote cards ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.quote:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.quote__mark { font-family: "Reckless", Georgia, serif; font-size: 3rem; color: var(--gold); line-height: 0.5; height: 22px; }
.quote p { color: var(--text); font-size: 0.97rem; }
.quote__who { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote__ava { width: 42px; height: 42px; border-radius: 50%; background: var(--gold-soft); border: 1px solid var(--gold-line); display: grid; place-items: center; color: var(--gold); font-family: "Reckless", Georgia, serif; font-size: 1.1rem; }
.quote__name { color: var(--white); font-size: 0.94rem; }
.quote__role { font-size: 0.8rem; color: var(--text-dim); }

/* ---------- industries chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--gold-line); background: var(--gold-soft);
  color: var(--white); font-size: 0.93rem;
  transition: background 0.25s, transform 0.25s var(--ease);
}
.chip:hover { background: rgba(209,169,73,0.22); transform: translateY(-2px); }
.chip svg { width: 15px; height: 15px; stroke: var(--gold); }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(34px, 5vw, 76px); align-items: center; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.split__media img, .split__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.split__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,3,3,0.1), rgba(3,3,3,0.55)); }
.split p + p { margin-top: 15px; }
.bullets { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.bullets li { display: flex; gap: 13px; align-items: flex-start; font-size: 0.96rem; }
.bullets svg { width: 19px; height: 19px; flex: none; stroke: var(--gold); margin-top: 2px; }

/* ---------- process (sticky steps) ---------- */
.process { display: flex; flex-direction: column; gap: 20px; max-width: 1000px; margin: 0 auto; }
.step {
  position: sticky; top: calc(var(--nav-h) + 34px);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px) clamp(26px, 3vw, 44px);
  display: grid; grid-template-columns: 92px 1fr; gap: clamp(18px, 2.4vw, 36px);
  align-items: start;
  transition: border-color 0.3s;
}
.step:hover { border-color: var(--gold-line); }
.step__num {
  font-family: "Reckless", Georgia, serif;
  font-size: clamp(2.3rem, 3.4vw, 3.1rem);
  color: var(--gold); line-height: 1;
}
.step h3 { font-size: clamp(1.4rem, 2.1vw, 1.9rem); margin-bottom: 12px; }
.step p { color: var(--text-dim); }

/* ---------- roles ---------- */
.roles { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.role {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 22px 11px 12px; border-radius: 999px;
  background: var(--panel-2); border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.role:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.role__dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  display: grid; place-items: center; color: var(--gold);
  font-family: "Reckless", Georgia, serif; font-size: 0.92rem;
}
.role span:last-child { color: var(--white); font-size: 0.94rem; }

/* ---------- comparison table ---------- */
.compare { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel-2); }
.compare__scroll { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare th, .compare td { padding: 20px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th {
  font-family: "Reckless", Georgia, serif; font-size: 1.22rem; color: var(--white);
  background: rgba(255,255,255,0.02); font-weight: 400;
}
.compare thead th:first-child { color: var(--text-dim); font-family: "HelveticaNC", sans-serif; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.compare td:first-child { color: var(--text); font-size: 0.93rem; }
.compare .col-us { background: rgba(209,169,73,0.07); border-left: 1px solid var(--gold-line); border-right: 1px solid var(--gold-line); }
.compare thead .col-us { color: var(--gold); }
.compare tbody tr:last-child td { border-bottom: 0; }
.cellv { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.cellv svg { width: 17px; height: 17px; flex: none; }
.cellv--yes svg { stroke: var(--gold); }
.cellv--no  svg { stroke: #7a5252; }
.cellv--no  { color: var(--text-dim); }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.team__photo { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.team__photo img { width: 100%; }
.team p { margin-top: 18px; color: var(--text-dim); }

/* ---------- video carousel ---------- */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.rail-nav { display: flex; gap: 10px; }
.rail-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.rail-btn:hover { border-color: var(--gold); background: var(--gold-soft); }
.rail-btn svg { width: 17px; height: 17px; stroke: var(--white); }
.rail-btn:hover svg { stroke: var(--gold); }
.rail {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.vcard {
  flex: 0 0 clamp(250px, 27vw, 330px);
  scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel-2);
  position: relative; aspect-ratio: 9 / 13;
}
.vcard video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.vcard__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(3,3,3,0.1), rgba(3,3,3,0.5));
  transition: opacity 0.25s;
}
.vcard__play span {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(209,169,73,0.92); display: grid; place-items: center;
  transition: transform 0.25s var(--ease);
}
.vcard__play svg { width: 20px; height: 20px; fill: #12100a; margin-left: 3px; }
.vcard:hover .vcard__play span { transform: scale(1.09); }
.vcard.is-playing .vcard__play { opacity: 0; pointer-events: none; }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; text-align: left;
  font-family: "Reckless", Georgia, serif; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--white);
}
.faq__ico { position: relative; width: 18px; height: 18px; flex: none; }
.faq__ico::before, .faq__ico::after {
  content: ""; position: absolute; background: var(--gold); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.faq__ico::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq__ico::after  { top: 0; left: 8px; width: 2px; height: 18px; }
.faq__item.is-open .faq__ico::after { transform: rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a p { padding: 0 0 24px; color: var(--text-dim); max-width: 74ch; font-size: 0.96rem; }

/* ---------- cta band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band__bg { position: absolute; inset: 0; background: url("../assets/img/grow-bg.webp") center/cover no-repeat; opacity: 0.25; }
.cta-band__veil { position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(209,169,73,0.14), transparent 65%), linear-gradient(180deg, rgba(3,3,3,0.86), rgba(3,3,3,0.94)); }
.cta-band .container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 24px; }

/* ---------- footer ---------- */
.footer { background: var(--panel); border-top: 1px solid var(--line); padding: clamp(56px, 6vw, 84px) 0 30px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer__top img { height: 38px; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 44px 0; }
.footer__title { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; font-size: 0.92rem; color: var(--text-dim); margin-bottom: 11px; transition: color 0.2s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 0.83rem; color: var(--text-dim); flex-wrap: wrap; }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--gold); }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: border-color 0.25s, background 0.25s; }
.socials a:hover { border-color: var(--gold); background: var(--gold-soft); }
.socials svg { width: 16px; height: 16px; fill: var(--text); }
.socials a:hover svg { fill: var(--gold); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-3, .quotes { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .team { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sec-head--split { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 1fr; gap: 14px; position: static; }
}
@media (max-width: 680px) {
  .grid-3, .grid-2, .quotes { grid-template-columns: 1fr; }
  .hero__ctas { width: 100%; flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__cols { grid-template-columns: 1fr; }
  .announce { font-size: 0.64rem; letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
