/* Doublestrand — stealth landing page
   Palette: cool paper / deep pine ink / viridian accent */

:root {
  --paper: #f6f7f4;
  --ink: #101c1a;
  --accent: #1d6e5f;
  --faint: #c5d2cb;
  --meta: #5c6a66;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Archivo", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

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

html, body { height: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ---------- header ---------- */

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
}

.wordmark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}

.wordmark-rule {
  width: 1.4em;
  height: 2px;
  background: var(--accent);
  display: inline-block;
  transform: translateY(-0.06em);
}

.contact-link {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--meta);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

/* ---------- hero ---------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  max-width: 62rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 1.75rem;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: var(--meta);
  max-width: 34rem;
  margin-bottom: 2.5rem;
}

.cta {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  align-self: flex-start;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--ink);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cta:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- helix signature ---------- */

.helix {
  overflow: hidden;
  height: clamp(70px, 10vw, 120px);
}

.helix svg {
  width: 100%;
  height: 100%;
  display: block;
}

.strand {
  fill: none;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.strand-a {
  stroke: var(--accent);
  animation: drift 46s linear infinite;
}

.strand-b {
  stroke: var(--faint);
  animation: drift 46s linear infinite;
}

@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-600px); }
}

@media (prefers-reduced-motion: reduce) {
  .strand-a, .strand-b { animation: none; }
}

/* ---------- footer ---------- */

.foot {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem) 2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--meta);
}

/* ---------- small screens ---------- */

@media (max-width: 480px) {
  .top { padding-top: 1.5rem; }
  .wordmark { letter-spacing: 0.22em; }
  .hero h1 br { display: none; }
}
