/* Novalyft Media — editorial newsroom, partner roster */
:root {
  --navy:        #152139;
  --navy-deep:   #0E1728;
  --navy-mid:    #24344F;
  --paper:       #F4F5F7;
  --sheet:       #FBFBFC;
  --white:       #FFFFFF;
  --line:        #D5D8DE;
  --steel:       #5C6573;
  --ink:         #152139;
  --text:        #1A2436;
  --on-dark:     #F4F6F8;
  --on-dark-soft:#D5DCE4;
  --seat:        #2A3D5C;
  --display:     "Syne", "Avenir Next", system-ui, sans-serif;
  --body:        "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --maxw:        1120px;
  --ease:        cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
html, body { width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand-name, blockquote {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
svg { max-width: 100%; display: block; }
table { border-collapse: collapse; width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: var(--on-dark); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { left: 0; }

.kicker {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--steel); margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 0; font-weight: 600; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary { background: var(--navy); color: var(--on-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(244, 245, 247, .92);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px -22px rgba(21, 33, 57, .4);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { border-radius: 3px; background: var(--white); }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: .01em; }
.brand-name em { font-style: normal; font-weight: 500; color: var(--steel); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel); font-weight: 600; transition: color .2s var(--ease);
}
.nav .nav-cta {
  color: var(--on-dark); background: var(--navy); padding: 9px 16px;
  letter-spacing: .1em;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Masthead hero */
.masthead {
  position: relative;
  padding: 118px 0 64px;
  background: var(--sheet);
  overflow: hidden;
}
.mast-motion { position: absolute; inset: 0; pointer-events: none; }
.col-rule {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--line) 18%, var(--line) 82%, transparent 100%);
  overflow: hidden;
}
.col-rule::after {
  content: "";
  position: absolute; left: -1px; width: 3px; height: 88px;
  background: linear-gradient(180deg, transparent, var(--navy), transparent);
  animation: ink-fall 4.8s var(--ease) infinite;
}
.r1 { left: 18%; }
.r2 { left: 50%; }
.r3 { left: 82%; }
.r2::after { animation-delay: 1.6s; }
.r3::after { animation-delay: 3.1s; }

.scan {
  position: absolute; left: -8%; right: -8%; height: 1px; top: 42%;
  background: linear-gradient(90deg, transparent, var(--navy), transparent);
  opacity: .35;
  animation: scan-sweep 7.5s linear infinite;
}

.mast-inner { position: relative; z-index: 2; }
.mast-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 28px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: var(--steel);
}
.desk-live { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--navy);
  box-shadow: 0 0 0 0 rgba(21, 33, 57, .45);
  animation: live-pulse 1.8s ease-out infinite;
}

.industry {
  display: inline-block;
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase; font-weight: 700;
  color: var(--steel);
  border: 1px solid var(--line);
  padding: 6px 12px;
  margin-bottom: 18px;
}

.mast-lock {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 40px;
  align-items: end;
}
h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  max-width: 14ch;
}
.lead {
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--steel);
  max-width: 48ch;
}
.mast-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.mark-wrap { justify-self: end; width: min(100%, 240px); }
.mark { width: 100%; height: auto; }
.mark-path {
  fill: var(--navy);
  transform-origin: 80px 65px;
  animation: mark-settle 1.4s var(--ease) both;
}
.mark-path.p2 { animation-delay: .12s; }
.mark-travel {
  fill: none;
  stroke: var(--on-dark);
  stroke-width: 2;
  stroke-linecap: square;
  mix-blend-mode: overlay;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: mark-draw 3.2s var(--ease) .4s infinite;
}
.mark-caption {
  margin-top: 10px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--steel); font-weight: 600; text-align: right;
}

/* Ticker */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 14px 0;
}
.ticker-track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  font-family: var(--display);
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  color: var(--ink);
  animation: ticker 28s linear infinite;
}
.tick-dot { width: 5px; height: 5px; background: var(--navy); transform: rotate(45deg); flex: 0 0 5px; }

/* Thesis band: dark, near-white type */
.thesis {
  background: var(--navy-deep);
  color: var(--on-dark);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.thesis::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--on-dark-soft), transparent);
  animation: rule-draw 4s var(--ease) infinite;
}
.thesis-inner { position: relative; max-width: 960px; }
.thesis-kicker {
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600;
  color: var(--on-dark-soft); margin-bottom: 22px;
}
.thesis blockquote {
  position: relative;
  font-size: clamp(1.85rem, 4.6vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.16;
  color: var(--on-dark);
  max-width: 18ch;
}
.q-mark {
  display: block;
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: .7;
  color: var(--on-dark);
  opacity: .22;
  margin-bottom: 4px;
}
.thesis-attr {
  margin-top: 24px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  color: var(--on-dark-soft);
}
.thesis-note {
  margin-top: 18px;
  max-width: 48ch;
  color: var(--on-dark);
  font-size: 1.05rem;
}

/* Sections */
.section { padding: 88px 0; }
.roster-sec { background: var(--paper); }

.roster-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}
.roster-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.roster-lede { color: var(--steel); font-size: 1.05rem; max-width: 46ch; }

.roster-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: var(--steel);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 0;
}

.roster { background: var(--sheet); }
.roster thead th {
  text-align: left;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
  color: var(--steel);
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.roster-row {
  border-bottom: 1px solid var(--line);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease);
  background: var(--sheet);
}
.roster td {
  padding: 22px 18px;
  vertical-align: top;
  color: var(--text);
}
.cell-no {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  width: 64px;
}
.desk-tag {
  display: block;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: var(--steel); margin-bottom: 6px;
}
.roster strong {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.roster td:nth-child(3) { color: var(--steel); max-width: 44ch; }
.seat {
  display: inline-block;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 5px 10px;
}

/* House */
.house { background: var(--white); border-top: 1px solid var(--line); }
.house-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.house-aside h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 14ch; }
.house-meta {
  margin-top: 18px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--steel);
}
.house-copy { display: grid; gap: 18px; }
.house-copy p { color: var(--text); font-size: 1.05rem; }

/* FAQ */
.faq-sec { background: var(--paper); }
.faq-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.faq-lead h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.faq-lead p { color: var(--steel); margin-top: 14px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: transparent; }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 4px;
  font-family: var(--display); font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 700; color: var(--ink);
}
.faq-ico { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; background: var(--navy); border-radius: 1px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq-ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-ico::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-item.open .faq-ico::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 280px; }
.faq-a p { color: var(--steel); margin: 0 0 22px; padding-right: 24px; }

/* Contact */
.contact { background: var(--sheet); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.contact-copy p { color: var(--steel); margin: 16px 0 22px; }
.contact-email {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color .2s, color .2s;
}
.contact-addr {
  margin-top: 14px !important;
  font-size: 14px;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  display: grid; gap: 16px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.field { display: grid; gap: 7px; }
.field label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); font-weight: 600; }
.field input, .field textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
  padding: 12px 14px;
  font: inherit; font-size: 15px;
  width: 100%; resize: vertical;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(21, 33, 57, .12);
}

/* Footer: dark band, near-white text */
.site-footer {
  background: var(--navy-deep);
  color: var(--on-dark);
  padding: 56px 0 32px;
}
.site-footer .brand-name { color: var(--on-dark); }
.site-footer .brand-name em { color: var(--on-dark-soft); }
.footer-inner { display: flex; flex-direction: column; gap: 22px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-tag {
  font-family: var(--display); font-size: 1.05rem;
  color: var(--on-dark-soft); margin: 0;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px 26px; }
.footer-nav a {
  color: var(--on-dark-soft); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  transition: color .2s;
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid rgba(244, 246, 248, .16);
  color: var(--on-dark-soft); font-size: 14px;
}

/* Motion */
@keyframes ink-fall {
  0% { transform: translateY(-100px); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(110vh); opacity: 0; }
}
@keyframes scan-sweep {
  0% { transform: translateY(-180px); opacity: 0; }
  8% { opacity: .35; }
  92% { opacity: .35; }
  100% { transform: translateY(420px); opacity: 0; }
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(21, 33, 57, .45); }
  70% { box-shadow: 0 0 0 10px rgba(21, 33, 57, 0); }
  100% { box-shadow: 0 0 0 0 rgba(21, 33, 57, 0); }
}
@keyframes mark-settle {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes mark-draw {
  0% { stroke-dashoffset: 280; opacity: 0; }
  8% { opacity: .9; }
  55% { stroke-dashoffset: 0; opacity: .7; }
  100% { stroke-dashoffset: -280; opacity: 0; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes rule-draw {
  0% { transform: scaleX(.15); opacity: .2; }
  50% { transform: scaleX(1); opacity: .7; }
  100% { transform: scaleX(.15); opacity: .2; }
}

@media (prefers-reduced-motion: reduce) {
  .col-rule::after, .scan, .live-dot, .mark-path, .mark-travel, .ticker-track, .thesis::before {
    animation: none;
  }
  .mark-travel { stroke-dashoffset: 0; opacity: .4; }
  .ticker-track { transform: none; }
}

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Hover AFTER reveal.in so lift is not overwritten */
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--ink); }
  .nav .nav-cta:hover { background: var(--navy-mid); color: var(--on-dark); transform: translateY(-2px); }
  .btn-primary:hover {
    transform: translateY(-2px);
    background: var(--navy-mid);
    box-shadow: 0 14px 28px -12px rgba(21, 33, 57, .55);
  }
  .btn-ghost:hover { transform: translateY(-2px); background: var(--ink); color: var(--on-dark); }
  .js .reveal.in.roster-row:hover,
  .roster-row:hover {
    transform: translateY(-6px);
    background: var(--white);
    box-shadow: 0 18px 36px -22px rgba(21, 33, 57, .45);
    position: relative;
    z-index: 2;
  }
  .js .reveal.in.contact-form:hover,
  .contact-form:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -28px rgba(21, 33, 57, .35);
  }
  .faq-q:hover { color: var(--navy-mid); }
  .contact-email:hover { border-bottom-color: var(--navy); color: var(--navy-mid); }
  .footer-nav a:hover { color: var(--on-dark); }
}

/* Tablet */
@media (max-width: 900px) {
  .mast-lock, .roster-head, .house-grid, .faq-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mark-wrap { justify-self: start; width: min(100%, 180px); }
  .mark-caption { text-align: left; }
  h1 { max-width: none; }
}

/* Mobile ~390px: roster becomes stacked cards */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(244, 245, 247, .98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 22px;
    transform: translateY(-120%);
    transition: transform .35s var(--ease);
    z-index: 90;
  }
  .nav.open { transform: translateY(0); }
  .nav a {
    padding: 14px 4px; font-size: 15px; border-bottom: 1px solid var(--line); color: var(--ink);
  }
  .nav .nav-cta { text-align: center; margin-top: 12px; border: 0; }

  .container { padding: 0 20px; }
  .masthead { padding: 104px 0 48px; }
  .section { padding: 64px 0; }
  .thesis { padding: 64px 0 56px; }
  .mast-top { flex-wrap: wrap; gap: 8px; }
  .mast-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }

  .col-rule.r1 { left: 12%; }
  .col-rule.r3 { left: 88%; }

  .roster thead { display: none; }
  .roster, .roster tbody { display: block; width: 100%; }
  .roster-row {
    display: block;
    margin: 0 0 14px;
    padding: 18px 18px 8px;
    border: 1px solid var(--line);
    width: 100%;
  }
  .roster td {
    display: block;
    width: 100%;
    padding: 6px 0 12px;
    border: 0;
  }
  .roster td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
    color: var(--steel);
    margin-bottom: 4px;
  }
  .cell-no { width: auto; font-size: 1.35rem; }
  .roster td:nth-child(3) { max-width: none; }

  .house-copy, .faq-lead p, .contact-copy p { font-size: 1.02rem; }
  .contact-form { padding: 22px 18px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 420px) {
  h1 { font-size: 2.15rem; }
  .thesis blockquote { font-size: 1.7rem; }
  .industry { letter-spacing: .22em; }
}
