/* ===================================================================
   VEYDROS INSIGHTS — insights.veydros.com
   Publication site for Veydros Collective.
   Inherits the dark teal/navy web brand from vc.veydros.com,
   adapted for long-form reading and a publication grid.
   =================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg-0:       #000909;
  --bg-1:       #000d12;
  --bg-2:       #003547;
  --bg-3:       #004f6b;
  --paper:      #ffffff;
  --ink:        #0b0d10;
  --ink-soft:   rgba(255,255,255,0.78);
  --ink-mute:   rgba(255,255,255,0.55);
  --ink-faint:  rgba(255,255,255,0.32);
  --hairline:   rgba(255,255,255,0.10);
  --hairline-2: rgba(255,255,255,0.18);
  --teal:       #1F89AD;
  --teal-soft:  #2EA1C9;
  --teal-deep:  #0E5C78;

  /* Reader surfaces */
  --reader-bg:    #f7f6f1;
  --reader-ink:   #0b0d10;
  --reader-soft:  #353a3f;
  --reader-mute:  #6a7077;
  --reader-line:  #d8d4c5;
  --reader-rule:  #c9c3ad;

  --max:        1280px;
  --max-read:   720px;
  --gutter:     clamp(20px, 4vw, 48px);
  --section:    clamp(72px, 10vw, 144px);

  --display:    'Satoshi', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --body:       'Manrope', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --condensed:  'Saira Condensed', 'Helvetica Neue', Arial, sans-serif;
  --serif:      'Cormorant Garamond', 'Times New Roman', serif;

  --t-fast: 180ms cubic-bezier(.2,.7,.3,1);
  --t-base: 320ms cubic-bezier(.2,.7,.3,1);
  --t-slow: 460ms cubic-bezier(.2,.7,.3,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg-1); }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--paper);
  background:
    radial-gradient(80% 60% at 80% 0%, rgba(46,161,201,0.10), transparent 60%),
    radial-gradient(60% 50% at 0% 30%, rgba(31,137,173,0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, #001b25 35%, var(--bg-2) 75%, var(--bg-3) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "kern";
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(31,137,173,0.45); color: #fff; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 1;
}
.container--reader {
  max-width: var(--max-read);
}
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * 0.55) 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--condensed);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--ink-mute);
}
.eyebrow .dot {
  display: inline-block; width: 5px; height: 5px;
  background: var(--teal); border-radius: 50%;
  vertical-align: middle; margin-right: 10px; transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(31,137,173,0.18);
}

h1, .h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(46px, 9vw, 110px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
  color: var(--paper);
}
h2, .h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  margin: 0 0 24px;
  text-transform: uppercase;
  color: var(--paper);
}
h3, .h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--paper);
}
.lede {
  font-family: var(--body);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 62ch;
}
p { margin: 0 0 1em; max-width: 68ch; color: var(--ink-soft); }
.serif-i {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--teal-soft);
}
.accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--teal-soft);
  text-transform: none;
  letter-spacing: 0;
}
.cap {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 13, 18, 0.65);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
  background: rgba(0, 9, 13, 0.85);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 14px;
  color: var(--paper);
}
.brand-mark { height: 20px; width: auto; display: block; }
.brand-divider {
  display: inline-block; width: 1px; height: 18px;
  background: var(--hairline-2); align-self: center;
}
.brand-section {
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--condensed);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--paper);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--teal-soft);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-fast);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1); transform-origin: left;
}
.nav-cta {
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.45);
  color: var(--paper);
  background: transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.nav-cta:hover { background: var(--paper); color: var(--bg-1); border-color: var(--paper); }

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid rgba(255,255,255,0.35);
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; display: block;
  width: 18px; height: 1px; background: var(--paper);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top:  6px; }

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.is-open .nav-mobile { transform: translateY(0); opacity: 1; pointer-events: auto; }
}
.nav-mobile {
  position: fixed; top: 78px; left: 0; right: 0; bottom: 0;
  background: var(--bg-1);
  padding: 48px var(--gutter);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-base), opacity var(--t-base);
  border-top: 1px solid var(--hairline);
  z-index: 49;
  overflow-y: auto;
}
.nav-mobile ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 20px;
}
.nav-mobile a {
  font-family: var(--display);
  font-weight: 300;
  font-size: 32px;
  text-transform: uppercase;
  display: block;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 16px;
  color: var(--paper);
}
.nav-mobile .meta {
  margin-top: 40px;
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; flex-direction: column; gap: 10px;
}
.nav-mobile .meta a { color: var(--paper); border-bottom: none; padding: 0; font-size: 12px; font-family: var(--condensed); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--condensed);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid rgba(255,255,255,0.45);
  background: transparent;
  color: var(--paper);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn:hover { background: var(--paper); color: var(--bg-1); border-color: var(--paper); }
.btn .arrow { display: inline-block; transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--solid {
  background: var(--teal); color: var(--paper); border-color: var(--teal);
  box-shadow: 0 8px 24px -10px rgba(31,137,173,0.5);
}
.btn--solid:hover { background: var(--teal-soft); color: var(--paper); border-color: var(--teal-soft); }
.btn--pill { border-radius: 999px; padding: 14px 24px; }

/* ---------- Page hero (publication landing) ---------- */
.hero {
  padding: clamp(96px, 14vw, 168px) 0 clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 90% 0%, rgba(46,161,201,0.16), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(31,137,173,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; align-items: end; }
}
.hero h1 .accent {
  font-family: var(--serif);
  font-style: italic;
  color: var(--teal-soft);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.hero-meta {
  border-left: 1px solid var(--hairline);
  padding-left: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 24px;
}
.hero-meta .label {
  font-family: var(--condensed);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-meta .value {
  font-family: var(--body);
  font-size: clamp(15px, 1.2vw, 16px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Filter bar ---------- */
.filter-bar {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(0,0,0,0.18);
}
.filter-row {
  display: flex; align-items: center; gap: 24px;
  padding: 22px 0;
  flex-wrap: wrap;
}
.filter-row .label {
  font-family: var(--condensed);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.filter-row .chips {
  display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0;
}
.chip {
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--hairline-2);
  color: var(--ink-soft);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.chip:hover { color: var(--paper); border-color: var(--teal-soft); }
.chip.is-active {
  color: var(--bg-1);
  background: var(--paper);
  border-color: var(--paper);
}

/* ---------- Insight grid ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 700px)  { .insights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .insights-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: rgba(0, 13, 18, 0.55);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
  min-height: 360px;
  position: relative;
  transition: background var(--t-fast);
}
.card:hover { background: rgba(0, 13, 18, 0.85); }
.card[hidden] { display: none !important; }
.card .meta {
  display: flex; gap: 14px; align-items: center;
  font-family: var(--condensed);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 20px;
}
.card .meta .cat { color: var(--teal-soft); }
.card .meta .dot {
  display: inline-block; width: 3px; height: 3px;
  background: var(--ink-faint); border-radius: 50%;
}
.card .title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.18;
  color: var(--paper);
  margin: 0 0 14px;
}
.card .summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 28px;
  flex: 1;
}
.card .read {
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
}
.card .read .rule { width: 28px; height: 1px; background: var(--teal); transition: width var(--t-fast); }
.card:hover .read .rule { width: 48px; }
.card .featured-tag {
  position: absolute; top: clamp(28px, 3vw, 40px); right: clamp(28px, 3vw, 40px);
  font-family: var(--condensed);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

/* Featured card spans 2 columns on wide layouts */
@media (min-width: 1080px) {
  .card--feature { grid-column: span 2; min-height: 440px; }
  .card--feature .title { font-size: clamp(30px, 3vw, 44px); }
}

/* ---------- Empty state ---------- */
.empty-state {
  padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
  color: var(--ink-mute);
  font-family: var(--condensed);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 13px;
}

/* ---------- Subscribe band ---------- */
.subscribe {
  border-top: 1px solid var(--hairline);
  padding: clamp(72px, 10vw, 120px) 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(31,137,173,0.16), transparent 60%),
    rgba(0,0,0,0.25);
}
.subscribe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}
@media (min-width: 900px) {
  .subscribe-grid { grid-template-columns: 1.2fr 1fr; }
}
.subscribe form {
  display: flex; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
}
.subscribe input[type="email"] {
  flex: 1; min-width: 240px;
  background: transparent;
  border: 1px solid var(--hairline-2);
  padding: 16px 18px;
  color: var(--paper);
  font-family: var(--body);
  font-size: 15px;
}
.subscribe input[type="email"]::placeholder { color: var(--ink-faint); }
.subscribe input[type="email"]:focus { outline: none; border-color: var(--teal-soft); }
.subscribe .form-note {
  font-family: var(--condensed);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 16px;
}

/* ---------- Reader (single insight) ---------- */
.reader {
  background: var(--reader-bg);
  color: var(--reader-ink);
}
.reader .container--reader p,
.reader .container--reader li,
.reader .container--reader blockquote {
  color: var(--reader-ink);
}
.reader-head {
  padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--reader-line);
}
.reader-meta {
  font-family: var(--condensed);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--reader-mute);
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.reader-meta .cat { color: var(--teal-deep); }
.reader-meta .dot {
  display: inline-block; width: 3px; height: 3px;
  background: var(--reader-mute); border-radius: 50%;
}
.reader-head h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--reader-ink);
  text-transform: none;
  margin: 0 0 24px;
}
.reader-head .deck {
  font-family: var(--body);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--reader-soft);
  margin: 0;
  max-width: 64ch;
}
.byline {
  margin-top: 36px;
  display: flex; gap: 24px;
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--reader-mute);
  flex-wrap: wrap;
}
.byline strong { color: var(--reader-ink); font-weight: 500; }

.reader-body {
  padding: clamp(48px, 7vw, 80px) 0 clamp(56px, 8vw, 96px);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
}
.reader-body h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--reader-ink);
  text-transform: none;
  margin: 56px 0 18px;
}
.reader-body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  color: var(--reader-ink);
  margin: 40px 0 14px;
  text-transform: none;
}
.reader-body p { margin: 0 0 1.1em; max-width: none; }
.reader-body p:first-of-type::first-letter {
  font-family: var(--display);
  font-weight: 300;
  float: left;
  font-size: 5.2em;
  line-height: 0.88;
  padding: 0.05em 0.12em 0 0;
  color: var(--teal-deep);
}
.reader-body blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.35;
  color: var(--reader-ink);
  border-left: 2px solid var(--teal-deep);
  padding: 4px 0 4px 28px;
  margin: 44px 0;
  max-width: none;
}
.reader-body ul, .reader-body ol { padding-left: 22px; margin: 0 0 1.2em; }
.reader-body li { margin-bottom: 0.5em; }
.reader-body a {
  color: var(--teal-deep);
  border-bottom: 1px solid rgba(14,92,120,0.35);
  transition: border-color var(--t-fast);
}
.reader-body a:hover { border-bottom-color: var(--teal-deep); }
.reader-body hr {
  border: 0; border-top: 1px solid var(--reader-rule);
  margin: 56px auto;
  width: 80px;
}
.reader-body figure { margin: 40px 0; }
.reader-body figcaption {
  font-family: var(--condensed);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--reader-mute);
  margin-top: 12px;
}

.reader-foot {
  border-top: 1px solid var(--reader-line);
  padding: clamp(40px, 6vw, 64px) 0;
}
.reader-foot .row {
  display: flex; gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--reader-mute);
}
.reader-foot a { color: var(--reader-ink); }
.reader-foot .btn {
  color: var(--reader-ink);
  border-color: var(--reader-rule);
}
.reader-foot .btn:hover {
  background: var(--reader-ink);
  color: var(--reader-bg);
  border-color: var(--reader-ink);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 56px);
  background: rgba(0,0,0,0.30);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 56px);
  margin-bottom: clamp(40px, 6vw, 64px);
}
@media (min-width: 700px)  { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.foot-brand p {
  font-size: 14px;
  color: var(--ink-mute);
  max-width: 36ch;
}
.foot-col h5 {
  font-family: var(--condensed);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin: 0 0 18px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-soft);
  transition: color var(--t-fast);
}
.foot-col a:hover { color: var(--paper); }
.foot-line {
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
  font-family: var(--condensed);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-wrap: wrap;
}
.foot-line a { color: var(--ink-soft); }
.foot-line a:hover { color: var(--paper); }

/* ---------- 404 ---------- */
.page-404 .hero { text-align: center; min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.page-404 .hero p { margin-left: auto; margin-right: auto; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .reader-foot, .subscribe { display: none !important; }
  body { background: #fff; color: #000; }
  .reader { background: #fff; }
}
