/* Halley Field collage-style draft: scattered but constrained */

:root {
  --paper: #ffffff;
  --paper-2: #f5f5f5;
  --ink: #1f1f1b;
  --muted: #67655e;
  --line: #d7d7d7;
  --accent: #784633;
  --shadow: 0 14px 32px rgba(0,0,0,.11);
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a { color: inherit; }

.board {
  width: min(calc(100% - 34px), var(--max));
  margin-inline: auto;
}

.board {
  padding: 6px 0 56px;
}

.cluster {
  position: relative;
  margin-bottom: 54px;
}

.label {
  margin: 0 0 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .7rem;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.title-block {
  position: relative;
  z-index: 5;
  width: min(660px, 66%);
  margin-left: 2.5%;
  margin-top: 8px;
}

h1 {
  margin: 0;
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.06em;
  font-size: clamp(4.2rem, 11vw, 8.8rem);
}

.dek {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.36;
}

figure { margin: 0; }

.artifact {
  position: relative;
  background: #fff;
  padding: 10px 10px 12px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow);
}

.artifact img {
  background: #f5f5f5;
}

.artifact::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(0,0,0,.03);
  pointer-events: none;
}

figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  line-height: 1.35;
  color: var(--muted);
}

.source {
  text-align: right;
  font-size: .66rem;
}

.note,
.fact-chip,

.note {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  padding: 18px 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

.note p:first-child { margin-top: 0; }
.note p:last-child { margin-bottom: 0; }

.fact-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 112px;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .72rem;
  box-shadow: var(--shadow);
}

.fact-chip strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 400;
}

.hero-cluster {
  min-height: 790px;
}

.artifact-biplane {
  position: absolute;
  right: 2.5%;
  top: 225px;
  width: min(760px, 66%);
  transform: rotate(-1.4deg);
  z-index: 2;
}

.note-intro {
  position: absolute;
  left: 0.8%;
  top: 360px;
  width: min(360px, 31%);
  transform: rotate(.8deg);
}

.chip-open {
  position: absolute;
  right: 10%;
  top: 80px;
  transform: rotate(1.7deg);
}

.chip-close {
  position: absolute;
  right: 16%;
  top: 180px;
  transform: rotate(-1.8deg);
}

.history-cluster {
  min-height: 610px;
}

.artifact-farm {
  position: absolute;
  left: 2%;
  top: 20px;
  width: min(480px, 40%);
  transform: rotate(1.2deg);
  z-index: 3;
}

.note-farm {
  position: absolute;
  left: 33%;
  top: 285px;
  width: min(360px, 30%);
  transform: rotate(-.7deg);
  z-index: 6;
}

.artifact-map {
  position: absolute;
  right: 6%;
  top: 85px;
  width: min(455px, 38%);
  transform: rotate(-3deg);
  z-index: 2;
}

.note-map {
  position: absolute;
  right: 1.5%;
  top: 410px;
  width: min(300px, 25%);
  transform: rotate(.8deg);
  z-index: 6;
}






.lindbergh-cluster {
  min-height: 300px;
}

.note-lindbergh {
  position: absolute;
  left: 34%;
  top: -6px;
  width: min(455px, 38%);
  transform: rotate(-1deg);
  z-index: 6;
}

.artifact-lindbergh {
  position: absolute;
  left: 3%;
  top: -42px;
  width: min(350px, 31%);
  transform: rotate(1.6deg);
  z-index: 4;
}

.now-cluster {
  min-height: 735px;
}

.artifact-modern {
  position: absolute;
  left: 13%;
  top: 50px;
  width: min(760px, 66%);
  transform: rotate(-.9deg);
}

.note-now {
  position: absolute;
  left: 0.5%;
  top: 170px;
  width: min(345px, 30%);
  transform: rotate(.6deg);
}

.artifact-marker {
  position: absolute;
  right: 0.5%;
  top: 82px;
  width: min(315px, 28%);
  transform: rotate(2deg);
}


.sources-board {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 8px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--muted);
  font-size: .78rem;
}

.sources-board ol {
  margin: 18px 0 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 46px;
}

.sources-board li {
  margin-bottom: 10px;
  break-inside: avoid;
}

.small-note {
  max-width: 700px;
  margin-top: 18px;
  font-size: .69rem;
}

.credit-link {
  display: inline-block;
  margin-left: .55rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Subtle related connector lines only */
.hero-cluster::after,
.history-cluster::after,
.lindbergh-cluster::after,
.now-cluster::after {
  content: "";
  position: absolute;
  border-top: 1px solid rgba(120,70,51,.28);
  pointer-events: none;
}

.hero-cluster::after {
  width: 150px;
  left: 25%;
  top: 455px;
  transform: rotate(8deg);
}

.history-cluster::after {
  width: 110px;
  left: 40%;
  top: 325px;
  transform: rotate(17deg);
}

.lindbergh-cluster::after {
  width: 78px;
  left: 28%;
  top: 102px;
  transform: rotate(12deg);
}

.now-cluster::after {
  width: 135px;
  left: 30%;
  top: 275px;
  transform: rotate(-8deg);
}

@media (max-width: 980px) {
  .board {
    padding-top: 22px;
  }

  .cluster {
    min-height: auto !important;
    margin-bottom: 42px;
  }

  .title-block {
    width: 100%;
    margin-left: 0;
    margin-bottom: 26px;
  }

  .artifact,
  .note,
  .fact-chip {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 18px !important;
  }

  .history-cluster::after,
  .hero-cluster::after,
  .lindbergh-cluster::after,
  .now-cluster::after {
    display: none;
  }

  .sources-board ol {
    columns: 1;
  }
}

@media (max-width: 560px) {
  .board {
    width: min(calc(100% - 24px), var(--max));
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  figcaption {
    display: block;
  }

  .source {
    display: block;
    text-align: left;
    margin-top: 4px;
  }
}


.small-note {
  max-width: 700px;
  margin-top: 18px;
  font-size: .69rem;
}

.credit-link {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Lindbergh cluster safeguard: keep this image from ballooning on publish */
.artifact-lindbergh {
  max-width: 350px;
}

.note-lindbergh {
  max-width: 455px;
}

@media (max-width: 980px) {
  .lindbergh-cluster {
    min-height: auto !important;
  }

  .artifact-lindbergh {
    position: static !important;
    width: min(320px, 78%) !important;
    max-width: 320px !important;
    margin: 0 0 18px 0 !important;
  }

  .note-lindbergh {
    position: static !important;
    width: min(460px, 92%) !important;
    max-width: 460px !important;
    margin: 0 0 18px auto !important;
  }
}
