/* =========================================================
   Fedly Group — Classic Grey, Soft & Elegant
   ========================================================= */

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colour Palette — warm greys, never dominant black */
  --grey-50:  #f7f6f5;
  --grey-100: #eeece9;
  --grey-200: #dedad5;
  --grey-300: #c8c3bb;
  --grey-400: #a9a195;
  --grey-500: #8a8078;
  --grey-600: #6d6560;
  --grey-700: #534f4a;
  --grey-800: #3c3936;
  --grey-900: #2a2826;

  --gold:      #c9a96e;
  --gold-light:#e8d5b0;
  --gold-dark: #a8834a;

  --bg-primary:   #f2f0ed;
  --bg-secondary: #e9e7e3;
  --bg-card:      #faf9f7;
  --bg-dark:      #2e2c2a;

  --text-primary:   #2a2826;
  --text-secondary: #534f4a;
  --text-muted:     #8a8078;
  --text-inverse:   #f7f6f5;

  --border:       #dedad5;
  --border-light: #edeae6;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-gap: 7rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(42,40,38,.06), 0 1px 2px rgba(42,40,38,.04);
  --shadow-md: 0 4px 16px rgba(42,40,38,.08), 0 2px 6px rgba(42,40,38,.05);
  --shadow-lg: 0 10px 32px rgba(42,40,38,.10), 0 4px 12px rgba(42,40,38,.06);

  /* Transitions */
  --transition: 220ms ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-gap) 0;
}

/* ── Navbar — Editorial ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 1px 20px rgba(42,40,38,.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-primary);
  transition: opacity var(--transition);
}
.logo:hover { opacity: .65; }

.logo-mark {
  width: 30px; height: 30px;
  background: var(--text-primary);
  color: var(--gold-light);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
}
.footer .logo-mark { background: var(--grey-700); color: var(--gold-light); }
.footer .logo { color: var(--grey-200); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
}

.nav-mobile { display: none; }
.nav-mobile ul {
  padding: .75rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-primary);
}
.nav-mobile a {
  display: block;
  padding: .55rem 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nav-mobile a:hover { color: var(--text-primary); }

/* ── Hero — Editorial Magazine ──────────────────────────── */
.hero {
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
  padding-top: 56px; /* navbar height */
}

/* Hide old ornament */
.hero-ornament { display: none; }
.hero-glow { display: none; }

/* Main editorial grid */
.hero-grid {
  display: grid;
  grid-template-columns: 64px 1fr 1px 320px;
  min-height: calc(100vh - 56px - 48px); /* minus navbar, ticker */
  border-bottom: 1px solid var(--border);
}

/* Column 1 — index numbers */
.hero-col-index {
  border-right: 1px solid var(--border);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.hero-index-num {
  writing-mode: vertical-rl;
  font-size: .62rem;
  font-weight: 700;
  color: var(--grey-300);
  letter-spacing: .15em;
  text-transform: uppercase;
  user-select: none;
}
.hero-index-line {
  width: 1px;
  flex: 1;
  background: var(--border-light);
  margin: 1rem 0;
}
.hero-index-count {
  font-family: var(--font-display);
  font-size: .75rem;
  color: var(--grey-300);
  writing-mode: vertical-rl;
}

/* Column 2 — main title */
.hero-col-main {
  padding: 2.5rem 2.5rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: auto;
}
.hero-eyebrow-text {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-eyebrow-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 60px;
}

.hero-title-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: .95;
  color: var(--text-primary);
  letter-spacing: -.03em;
  margin: 0;
}
.hero-title .line-accent {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--grey-300);
}

.hero-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}
.hero-subtitle {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 380px;
}
.hero-actions {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}

/* Column 3 — right sidebar */
.hero-col-side {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-side-block { display: flex; flex-direction: column; gap: .5rem; }
.hero-side-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-400);
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border-light);
}
.hero-side-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.hero-side-sub {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-side-divider {
  height: 1px;
  background: var(--border-light);
}

.hero-status-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.hero-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--text-secondary);
}
.hero-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-green { background: #3caa64; box-shadow: 0 0 4px rgba(60,170,100,.5); }
.dot-amber { background: var(--gold); }

/* Ticker */
.hero-ticker {
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  height: 48px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero-ticker::before,
.hero-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.hero-ticker::before { left: 0; background: linear-gradient(to right, var(--bg-secondary), transparent); }
.hero-ticker::after  { right: 0; background: linear-gradient(to left, var(--bg-secondary), transparent); }

.ticker-label {
  flex-shrink: 0;
  padding: 0 1.25rem 0 1.5rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-right: 1px solid var(--border);
  height: 100%;
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  z-index: 3;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 28s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0 2rem;
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .04em;
}
.ticker-item::after {
  content: '·';
  color: var(--grey-300);
}
.ticker-item span {
  color: var(--text-secondary);
  font-weight: 600;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.5rem;
  border-radius: 3px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--text-primary);
  color: var(--text-inverse);
}
.btn-primary:hover {
  background: var(--grey-700);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--grey-300);
}

/* ── Stats Bar ───────────────────────────────────────────── */
.stats-bar {
  background: var(--text-primary);
  padding: 2rem 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2.75rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-label {
  font-size: .65rem;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ── Section Common ──────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -.01em;
  margin-bottom: 1.25rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── About ───────────────────────────────────────────────── */
.about {
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-top: 2rem;
}

.value-pill {
  padding: .375rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: .02em;
}

/* About Visual */
.about-visual {
  position: relative;
  height: 360px;
}

.visual-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: var(--grey-800);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.visual-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .75rem;
  white-space: nowrap;
}

.vc-icon { font-size: 1.25rem; line-height: 1; }
.vc-label { font-size: .85rem; font-weight: 600; color: var(--text-secondary); }

.vc-1 { top: 10%; left: 0; }
.vc-2 { top: 50%; right: 0; transform: translateY(-50%); }
.vc-3 { bottom: 10%; left: 10%; }

/* ── Ventures ────────────────────────────────────────────── */
.ventures {
  background: var(--bg-secondary);
}

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.venture-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.venture-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--grey-200);
}

.venture-card--planned {
  background: var(--bg-primary);
  opacity: .9;
}

.venture-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: .5rem;
}

.venture-icon-wrap {
  width: 52px; height: 52px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--grey-700);
}

.venture-icon { width: 28px; height: 28px; }

.venture-status {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .25rem .75rem;
  border-radius: 2rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.venture-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.venture-status.live {
  background: #e8f5ed;
  color: #2d7a4a;
}
.venture-status.live::before { background: #3caa64; }

.venture-status.planned {
  background: var(--bg-secondary);
  color: var(--text-muted);
}
.venture-status.planned::before { background: var(--grey-300); }

.venture-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.venture-tagline {
  font-size: .83rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: -.25rem;
}

.venture-desc {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

.venture-features {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  margin: .5rem 0;
}

.venture-features li {
  font-size: .83rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.venture-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: .75rem;
}

.venture-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--border-light);
  transition: color var(--transition), gap var(--transition);
}
.venture-link:hover { color: var(--text-primary); gap: .75rem; }

/* ── Contact ─────────────────────────────────────────────── */
.contact { background: var(--bg-primary); }

.contact-box {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.contact-content { position: relative; z-index: 2; max-width: 520px; }

.contact-box .section-tag { color: var(--gold-light); }
.contact-box .section-title { color: var(--text-inverse); }

.contact-desc {
  color: var(--grey-400);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-links { display: flex; flex-direction: column; gap: .75rem; }

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--grey-300);
  transition: color var(--transition);
}
.contact-item:hover { color: var(--gold-light); }
.contact-item svg { flex-shrink: 0; opacity: .7; }

.contact-decoration {
  position: absolute;
  right: 0; top: 0;
  width: 360px; height: 100%;
  pointer-events: none;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,.12);
}
.c1 { width: 320px; height: 320px; right: -80px; top: -80px; }
.c2 { width: 200px; height: 200px; right: 60px; bottom: -60px; border-color: rgba(201,169,110,.08); }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--grey-900);
  color: var(--grey-400);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 1.5rem 3rem;
}

.footer .logo { color: var(--grey-200); }
.footer .logo-mark { background: var(--grey-700); color: var(--gold-light); }

.footer-tagline {
  margin-top: .75rem;
  font-size: .88rem;
  color: var(--grey-600);
  line-height: 1.6;
}

.footer-nav-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 1.25rem;
}

.footer-nav ul { display: flex; flex-direction: column; gap: .625rem; }

.footer-nav a {
  font-size: .88rem;
  color: var(--grey-500);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--grey-200); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  font-size: .82rem;
  color: var(--grey-600);
}
.footer-domain { color: var(--grey-700); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-visual { height: 260px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  /* Hero editorial collapse sidebar */
  .hero-grid {
    grid-template-columns: 48px 1fr;
  }
  .hero-col-side { display: none; }
  .hero-bottom-row { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

@media (max-width: 720px) {
  :root { --section-gap: 4.5rem; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile:not([hidden]) { display: block; }

  /* Hero editorial — hide index col on mobile */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-col-index { display: none; }
  .hero-col-main { padding: 2rem 1.5rem; border-right: none; }
  .hero-title { font-size: clamp(2.8rem, 12vw, 4rem); }
  .hero-bottom-row { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .hero-subtitle { max-width: 100%; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: .25rem; }

  .stats-inner { gap: 0; }
  .stat-item { padding: 0 1.25rem; }
  .stat-number { font-size: 1.6rem; }

  .contact-box { flex-direction: column; padding: 2.5rem 1.75rem; text-align: center; }
  .contact-links { align-items: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; gap: .5rem; text-align: center; }
}

@media (max-width: 480px) {
  .stat-divider { display: none; }
  .stats-inner { gap: 1.5rem; }
  .stat-item { padding: 0; }
  .about-visual { display: none; }
}

/* CryptoReceh — subtle gold accent */
.venture-card--crypto .venture-icon-wrap {
  background: #fdf6e8;
  color: var(--gold-dark);
}
.venture-card--crypto .venture-features li::before {
  color: var(--gold-dark);
}

/* CryptoTalk — subtle blue-grey accent */
.venture-card--cryptotalk .venture-icon-wrap {
  background: #eef2f7;
  color: #4a6080;
}
.venture-card--cryptotalk .venture-features li::before {
  color: #4a6080;
}

/* ── Utilities ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}
