/* Exige — "The Feed" homepage
   A social-native scroll experience. Brand green + cream, one electric accent. */

:root {
  --ink: #0a120d;
  --green: #004225;
  --green-700: #00301b;
  --cream: #fdfcd8;
  --accent: #c9f24e;
  --display: 'Bricolage Grotesque', 'Helvetica Neue', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--ink); }

a { color: inherit; }

/* ---------- Profile bar ---------- */

.bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  mix-blend-mode: difference;
  color: #fff;
}

.bar-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.14em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.bar-mark span {
  font-family: var(--body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  opacity: 0.7;
}

.bar-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid currentColor;
  padding: 8px 18px;
  border-radius: 100px;
}

/* ---------- Progress rail ---------- */

.rail {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  mix-blend-mode: difference;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 100px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  cursor: pointer;
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.dot.active { height: 30px; background: var(--accent); }

.rail-count {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.rail-count i { opacity: 0.5; font-style: normal; }

/* ---------- Feed + posts ---------- */

.feed {
  height: 100svh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.feed::-webkit-scrollbar { display: none; }

.post {
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  position: relative;
  padding: 92px 26px 64px;
  overflow: hidden;
}

.post--ink   { background: var(--ink); color: var(--cream); }
.post--green { background: var(--green); color: var(--cream); }
.post--cream { background: var(--cream); color: var(--green); }

/* big ghost watermark per dark post */
.post--ink::before,
.post--green::before {
  content: 'EXIGE';
  position: absolute;
  bottom: -0.18em; right: -0.04em;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(120px, 24vw, 360px);
  letter-spacing: -0.02em;
  color: rgba(253, 252, 216, 0.04);
  pointer-events: none;
  line-height: 0.8;
}

.post-in {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.post-in.wide { max-width: 1120px; }

/* ---------- Type ---------- */

.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(253, 252, 216, 0.25);
  color: var(--cream);
  margin-bottom: 30px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 26px;
}

.post--cream .tag { color: var(--green); }

h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 8.4vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 16ch;
}

h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  letter-spacing: -0.01em;
  color: var(--accent);
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 6.4vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

h2 .muted { color: rgba(0, 66, 37, 0.42); }
.post--green h2 .muted, .post--ink h2 .muted,
.block--green h2 .muted, .block--ink h2 .muted { color: rgba(253, 252, 216, 0.4); }

.lede {
  margin-top: 30px;
  max-width: 44ch;
  font-size: clamp(18px, 2.1vw, 23px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(253, 252, 216, 0.78);
}

.cap {
  margin-top: 28px;
  max-width: 52ch;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.6;
  color: rgba(0, 66, 37, 0.72);
}

.post--ink .cap, .post--green .cap { color: rgba(253, 252, 216, 0.7); }

/* ---------- Scroll cue ---------- */

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.scroll-cue span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
}

.scroll-cue .arr {
  font-style: normal;
  font-size: 20px;
  color: var(--accent);
  animation: bob 1.5s ease-in-out infinite;
}

.scroll-cue small { font-size: 11px; color: rgba(253, 252, 216, 0.45); }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ---------- Services carousel ---------- */

.row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.row-head .tag { margin-bottom: 0; }

.swipe {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253, 252, 216, 0.55);
}

.carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: none;
  margin: 0 -26px;
  padding-left: 26px;
  padding-right: 26px;
}

.carousel::-webkit-scrollbar { display: none; }

.card {
  flex: 0 0 auto;
  width: min(78vw, 360px);
  scroll-snap-align: start;
  background: rgba(253, 252, 216, 0.06);
  border: 1px solid rgba(253, 252, 216, 0.16);
  border-radius: 18px;
  padding: 30px 28px 34px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.card:hover { background: rgba(201, 242, 78, 0.08); border-color: var(--accent); }

.card-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: auto;
}

.card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -0.01em;
  margin: 30px 0 12px;
}

.card p {
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(253, 252, 216, 0.72);
}

/* ---------- Proof stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 8px;
}

.stat {
  border-top: 1px solid rgba(253, 252, 216, 0.18);
  padding-top: 22px;
}

.stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(54px, 9vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.stat-label {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(253, 252, 216, 0.6);
  max-width: 22ch;
}

.stat-strip {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(253, 252, 216, 0.18);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 2;
  color: rgba(253, 252, 216, 0.5);
}

/* ---------- Founder ---------- */

.byline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.avatar {
  width: 64px; height: 64px;
  border-radius: 100px;
  background: var(--green);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.byline-meta { display: flex; flex-direction: column; line-height: 1.3; }
.byline-meta b { font-size: 18px; font-weight: 700; }
.byline-meta i { font-style: normal; font-size: 13px; color: rgba(0, 66, 37, 0.6); }

.quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(27px, 4vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  max-width: 22ch;
  color: var(--green);
}

.quote--long {
  font-size: clamp(19px, 2.4vw, 31px);
  line-height: 1.3;
  max-width: 42ch;
}

.text-link {
  display: inline-block;
  margin-top: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--green);
  padding-bottom: 4px;
  color: var(--green);
}

/* ---------- CTA ---------- */

.big-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: -0.01em;
  padding: 18px 34px;
  border-radius: 100px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), gap 0.3s ease;
}

.big-btn i { font-style: normal; transition: transform 0.3s ease; }
.big-btn:hover { gap: 22px; transform: translateY(-3px); }
.big-btn:hover i { transform: translateX(4px); }

.foot {
  margin-top: 44px;
  font-size: 13px;
  color: rgba(253, 252, 216, 0.55);
}

.foot a { color: rgba(253, 252, 216, 0.8); text-decoration: none; }
.foot a:hover { color: var(--accent); }

/* ---------- Entrance animation ---------- */

.rise {
  opacity: 0;
  transform: translateY(34px);
}

.in-view .rise {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.in-view .rise:nth-child(2) { transition-delay: 0.08s; }
.in-view .rise:nth-child(3) { transition-delay: 0.16s; }
.in-view .rise:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .post { padding: 84px 20px 56px; }
  .rail { display: none; }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .stat { display: flex; align-items: baseline; gap: 18px; padding-top: 12px; }
  .stat-num { font-size: 48px; }
  .stat-label { margin-top: 0; }
  .stat-strip { font-size: 10.5px; line-height: 1.9; margin-top: 20px; padding-top: 14px; }
  .post .cap { margin-top: 20px; font-size: 14.5px; }
  .bar-mark span { display: none; }
  .quote { font-size: 29px; }
  .quote--long { font-size: 19px; }
}

/* Short screens: loosen the snap so tall posts stay fully reachable */
@media (max-height: 700px) {
  .feed { scroll-snap-type: y proximity; }
  .post { scroll-snap-stop: normal; padding-top: 76px; padding-bottom: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; }
  .scroll-cue .arr { animation: none; }
}

/* ================================================================
   Inner pages — same language as the feed, normal scroll
   ================================================================ */

/* --- Nav links in the bar --- */

.bar-right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.bar-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.bar-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.75;
}

.bar-links a:hover { opacity: 1; }

.bar-links a.active {
  opacity: 1;
  border-bottom: 2px solid currentColor;
  padding-bottom: 3px;
}

/* --- Blocks (the inner-page "posts") --- */

.block {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 13vh, 150px) 26px;
}

.block--ink   { background: var(--ink); color: var(--cream); }
.block--green { background: var(--green); color: var(--cream); }
.block--cream { background: var(--cream); color: var(--green); }

.block--ink::before,
.block--green::before {
  content: 'EXIGE';
  position: absolute;
  bottom: -0.18em; right: -0.04em;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(120px, 24vw, 360px);
  letter-spacing: -0.02em;
  color: rgba(253, 252, 216, 0.04);
  pointer-events: none;
  line-height: 0.8;
}

.block--hero {
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  padding-top: 150px;
}

.block--hero.short { min-height: 44svh; }

.block-in {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.block-in.wide { max-width: 1120px; }

.block--cream .tag { color: var(--green); }

.page-h1 {
  font-size: clamp(40px, 6.8vw, 96px);
}

/* --- Prose (long-form text on any block) --- */

.prose {
  display: grid;
  gap: 22px;
  max-width: 62ch;
  font-size: clamp(16px, 1.7vw, 18.5px);
  line-height: 1.65;
}

.block--ink .prose, .block--green .prose { color: rgba(253, 252, 216, 0.72); }
.block--cream .prose { color: rgba(0, 66, 37, 0.75); }

.block--ink .prose strong, .block--green .prose strong { color: var(--cream); }
.block--cream .prose strong { color: var(--green); }

.prose a { color: inherit; }

/* --- Step cards (how it works) --- */

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

.step {
  border-radius: 18px;
  padding: 30px 28px 34px;
  display: flex;
  flex-direction: column;
}

.block--cream .step {
  background: rgba(0, 66, 37, 0.05);
  border: 1px solid rgba(0, 66, 37, 0.16);
}

.block--ink .step, .block--green .step {
  background: rgba(253, 252, 216, 0.06);
  border: 1px solid rgba(253, 252, 216, 0.16);
}

.step-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 26px;
}

.block--cream .step-num { color: var(--green); }
.block--ink .step-num, .block--green .step-num { color: var(--accent); }

.step h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.step p { font-size: 15.5px; line-height: 1.55; }
.block--cream .step p { color: rgba(0, 66, 37, 0.72); }
.block--ink .step p, .block--green .step p { color: rgba(253, 252, 216, 0.72); }

/* --- Service rows --- */

.svc-row {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 44px;
  padding: 52px 0;
  border-top: 1px solid rgba(253, 252, 216, 0.16);
}

.svc-row:last-of-type { padding-bottom: 8px; }

.svc-row .svc-num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 14px;
}

.svc-row h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.svc-body p {
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.6;
  color: rgba(253, 252, 216, 0.72);
  max-width: 58ch;
}

.svc-body p + p { margin-top: 16px; }

.svc-body ul {
  list-style: none;
  margin: 20px 0;
  display: grid;
  gap: 10px;
}

.svc-body li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(253, 252, 216, 0.72);
  max-width: 56ch;
}

.svc-body li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.72em;
  width: 12px; height: 1px;
  background: rgba(253, 252, 216, 0.5);
}

/* --- Founder portrait --- */

.founder-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 50px;
  align-items: start;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

/* --- Contact --- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 9px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 16px;
  color: var(--cream);
  background: rgba(253, 252, 216, 0.06);
  border: 1px solid rgba(253, 252, 216, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.field select { appearance: none; }

.field select option { color: var(--ink); background: var(--cream); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: rgba(201, 242, 78, 0.06);
}

.field textarea { resize: vertical; min-height: 110px; }

.send-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  background: var(--accent);
  color: var(--ink);
  border: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  padding: 15px 30px;
  border-radius: 100px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), gap 0.3s ease;
}

.send-btn:hover { gap: 18px; transform: translateY(-3px); }

.contact-line {
  display: block;
  text-decoration: none;
  padding: 22px 0;
  border-top: 1px solid rgba(253, 252, 216, 0.16);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 2.2vw, 25px);
  letter-spacing: -0.01em;
  color: var(--cream);
}

.contact-line:hover { color: var(--accent); }

.contact-line .contact-meta {
  display: block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}

.contact-note {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(253, 252, 216, 0.62);
  margin-top: 30px;
}

.contact-note + .contact-note { margin-top: 14px; }

/* --- CTA band reused on inner pages --- */

.block--cta { text-align: left; }

/* --- Footer --- */

.footer {
  background: var(--ink);
  color: var(--cream);
  border-top: 1px solid rgba(253, 252, 216, 0.12);
  padding: 52px 26px 58px;
}

.footer-in {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}

.footer-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.14em;
}

.footer-mark span {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(253, 252, 216, 0.55);
  margin-top: 6px;
}

.footer-meta {
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(253, 252, 216, 0.55);
  text-align: right;
}

.footer-meta a { color: rgba(253, 252, 216, 0.8); text-decoration: none; }
.footer-meta a:hover { color: var(--accent); }

/* --- Inner-page responsive --- */

@media (max-width: 860px) {
  .step-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 18px; padding: 40px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .founder-grid { grid-template-columns: 1fr; gap: 30px; }
  .founder-photo { max-width: 320px; }
  .footer-in { flex-direction: column; }
  .footer-meta { text-align: left; }
}

@media (max-width: 720px) {
  .block { padding: 76px 20px; }
  .block--hero { padding-top: 120px; }
  .big-btn { font-size: 17px; padding: 15px 26px; gap: 10px; }
}

@media (max-width: 560px) {
  .pill { font-size: 11px; padding: 7px 12px; letter-spacing: 0.02em; white-space: nowrap; }
  .bar { padding: 14px 16px; }
  .bar-right { gap: 14px; }
  .bar-links { gap: 14px; }
  .bar-links a { font-size: 10.5px; letter-spacing: 0.1em; }
  .bar-cta { padding: 7px 13px; font-size: 10.5px; letter-spacing: 0.1em; }
  .bar-mark { font-size: 17px; }
}
