/* Syndie V3 landing — Valley language: paper, paintings, mono captions */

/* ---- Nav ---- */
.nav {
  height: 76px; display: flex; align-items: center; gap: 10px;
  max-width: 1400px; margin: 0 auto; padding: 0 40px;
  background: var(--paper);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span { font-family: var(--font-head); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: var(--r); }
.nav-links a:hover { background: #F4F4F1; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .enter { font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-style: dashed; text-decoration-color: var(--faint); }

/* ---- Hero ---- */
.hero { text-align: center; padding: 64px 32px 0; }
.hero .kicker { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(44px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -0.03em;
  max-width: 20ch; margin: 0 auto 22px; text-wrap: balance;
}
.hero .sub { color: var(--gray); font-size: 16.5px; line-height: 1.55; max-width: 54ch; margin: 0 auto 32px; }

.launcher { display: inline-flex; width: min(560px, 92vw); }
.launcher input {
  flex: 1; border: 1px solid var(--line); border-right: none;
  border-radius: var(--r) 0 0 var(--r); padding: 15px 18px;
  font-family: var(--font-body); font-size: 14.5px; outline: none; color: var(--ink);
}
.launcher input::placeholder { color: var(--faint); }
.launcher input:focus { border-color: var(--ink); }
.launcher button { border-radius: 0 var(--r) var(--r) 0; }
.hero .under { margin-top: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

/* ---- Painting panel with signal chips ---- */
.painting {
  position: relative; margin: 56px auto 0; max-width: 1400px;
  height: 560px; overflow: hidden;
}
.painting img.art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.painting .fade-top { position: absolute; inset: 0 0 auto 0; height: 120px; background: linear-gradient(to bottom, #fff, rgba(255,255,255,0)); }
.painting .fade-bot { position: absolute; inset: auto 0 0 0; height: 110px; background: linear-gradient(to top, #fff, rgba(255,255,255,0)); }
.sig { position: absolute; }
.sig-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.sig-lines path { stroke: rgba(255,255,255,.75); stroke-width: 1.2; fill: none; }
.syd-node {
  position: absolute; left: 50%; bottom: 42px; transform: translateX(-50%);
  width: 108px; height: 108px; background: var(--paper); border-radius: 10px;
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 40px rgba(16,16,16,.14);
}

/* ---- Scrollytelling steps on dotgrid ---- */
.story { padding: 96px 32px; text-align: center; }
.story .caption-box { margin-bottom: 48px; }
.story-card { max-width: 640px; margin: 0 auto; text-align: left; }
.profile-card { padding: 0; overflow: hidden; }
.profile-card .banner { height: 92px; background: linear-gradient(105deg, #DCE7DF 0%, #C9D9CE 45%, #E7EFE9 100%); position: relative; }
.profile-card .banner svg { position: absolute; right: 18px; top: 16px; opacity: .5; }
.profile-card .pbody { padding: 0 24px 22px; }
.profile-card .pavatar {
  width: 72px; height: 72px; border-radius: 50%; background: #EFEFEA; border: 3px solid #fff;
  margin-top: -36px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 18px; color: var(--gray);
}
.profile-card .pname { font-family: var(--font-head); font-size: 18px; font-weight: 500; margin-top: 12px; }
.profile-card .prole { color: var(--gray); font-size: 13.5px; margin-top: 3px; }
.profile-card .pmeta { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.research-list { border-top: 1px solid var(--line); margin-top: 18px; }
.research-list .r-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.research-list .r-row:last-child { border-bottom: none; }
.research-list .r-row .ok { margin-left: auto; color: var(--ok); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; }

.msg-card { padding: 26px; }
.msg-bubble {
  background: var(--accent-soft); border-radius: var(--r);
  padding: 18px 20px; font-size: 14.5px; line-height: 1.6; color: #14371F;
}
.msg-bubble .from { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.msg-bubble .from .a { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 10px; color: var(--gray); }
.msg-bubble .from .n { font-weight: 500; font-size: 13px; color: var(--ink); }
.msg-bubble .stamp { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.scroll-cue { margin-top: 56px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--faint); text-transform: uppercase; }
.scroll-cue::before { content: "↓"; display: block; font-size: 14px; margin-bottom: 6px; }

/* ---- Dark feature section ---- */
.dark-sect { background: var(--dark); color: var(--on-dark); }
.dark-inner {
  max-width: var(--page-max); margin: 0 auto; padding: 96px 40px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start;
}
.steps .step { border-bottom: 1px solid var(--dark-line); padding: 22px 0; }
.steps .step .s-head { display: flex; align-items: center; gap: 12px; color: var(--on-dark-2); font-family: var(--font-head); font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.steps .step.open .s-head { color: var(--on-dark); }
.steps .step .s-body { color: var(--on-dark-2); font-size: 14px; line-height: 1.6; margin: 10px 0 16px 30px; max-width: 42ch; }
.steps .step .grad-rule { margin-left: 30px; width: 120px; }
.steps .cta { margin-top: 28px; }
.btn-dark-line { background: transparent; color: var(--on-dark); border: 1px solid #3A3A38; padding: 12px 17px; border-radius: var(--r); font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-flex; gap: 8px; }
.btn-dark-line:hover { border-color: var(--on-dark); }

.artpanel { position: relative; border-radius: 8px; overflow: hidden; min-height: 520px; }
.artpanel img.art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(400px, 82%); background: var(--paper); color: var(--ink);
  border-radius: var(--r); overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.float-card .fc-head { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); padding: 13px 18px; border-bottom: 1px solid var(--line); }
.float-card .fc-row { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.float-card .fc-row:last-child { border-bottom: none; }
.float-card .fc-row .ok {
  margin-left: auto; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---- Logo strip ---- */
.logos { padding: 88px 32px; text-align: center; }
.logos .mono { display: block; margin-bottom: 30px; color: var(--faint); font-size: 11px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px; }
.logo-row span { color: var(--faint); font-weight: 500; font-size: 15px; }
.logo-row span.m { font-family: var(--font-mono); font-size: 12.5px; }

/* ---- Stats on dotgrid ---- */
.stats { padding: 0 32px 96px; }
.stats-inner { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; }
.stat b { display: block; font-family: var(--font-head); font-size: 46px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.stat .mono { font-size: 11px; }

/* ---- Closing ---- */
.closing { text-align: center; padding: 96px 32px 110px; }
.closing h2 { font-size: clamp(36px, 4.2vw, 56px); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 18px; text-wrap: balance; }
.closing .sub { color: var(--gray); margin: 0 0 30px; font-size: 15.5px; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--page-max); margin: 0 auto; padding: 64px 40px 40px;
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px;
}
.footer h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--gray); text-decoration: none; font-size: 13.5px; }
.footer li a:hover { color: var(--ink); }
.footer .brand { margin-bottom: 18px; }
.footer-base { max-width: var(--page-max); margin: 0 auto; padding: 0 40px 36px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .dark-inner { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .painting { height: 460px; }
  .sig { display: none; }
  .sig-lines { display: none; }
}
