:root {
  color-scheme: dark;
  --ink: #f4efe6;
  --muted: #b7c0bb;
  --paper: #0d1314;
  --panel: #151e20;
  --line: rgba(226, 218, 204, 0.16);
  --field: #6f7f5a;
  --copper: #d27b4c;
  --steel: #314958;
  --blue: #74b7c8;
  --shadow: #080c0d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #0c1213 0%, #0d1314 34%, #101819 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

main {
  overflow: hidden;
}

.hero {
  min-height: 58vh;
  display: grid;
  align-items: end;
  position: relative;
  padding: clamp(28px, 4.5vw, 60px);
  background: var(--shadow);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(7, 11, 12, 0.9) 0%, rgba(7, 11, 12, 0.58) 36%, rgba(7, 11, 12, 0.2) 68%, rgba(7, 11, 12, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 11, 12, 0.06) 0%, rgba(7, 11, 12, 0.42) 58%, rgba(13, 19, 20, 0.98) 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 22vh;
  background:
    linear-gradient(180deg, rgba(13, 19, 20, 0), var(--paper));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-width: none;
  color: #f4efe6;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.5);
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: #7faab3;
  max-width: 980px;
  margin-bottom: 6px;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  letter-spacing: 0;
  text-transform: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1060px;
  margin-bottom: 16px;
  font-size: clamp(3.4rem, 10.5vw, 8rem);
  line-height: 0.86;
  letter-spacing: 0;
  color: transparent;
  background: linear-gradient(95deg, #f4efe6 0%, #d9c7ad 44%, #9db7bd 72%, #74b7c8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 5px 22px rgba(0, 0, 0, 0.42));
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.lede {
  max-width: 730px;
  margin-bottom: 18px;
  color: #d8d0c2;
  font-size: clamp(1rem, 1.55vw, 1.32rem);
}

.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(560px, 100%);
  margin-bottom: 12px;
}

input,
button {
  min-height: 52px;
  border: 1px solid rgba(244, 239, 230, 0.34);
  border-radius: 6px;
  font: inherit;
}

input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  color: #f4efe6;
  background: rgba(244, 239, 230, 0.12);
}

input::placeholder {
  color: rgba(244, 239, 230, 0.68);
}

button {
  padding: 0 20px;
  color: #f7f1e8;
  background: #263235;
  border-color: rgba(244, 239, 230, 0.34);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.form-status {
  flex-basis: 100%;
  min-height: 0;
  margin: 0;
  color: rgba(244, 239, 230, 0.78);
  font-size: 0.88rem;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  color: #f0a28f;
}

.form-status.is-success {
  color: #85d59a;
}

.note {
  margin-bottom: 1px;
  color: rgba(255, 253, 247, 0.86);
  font-size: 0.76rem;
  line-height: 1.25;
}

.privacy-note {
  margin-top: 2px;
  color: rgba(244, 239, 230, 0.58);
  font-size: 0.76rem;
  line-height: 1.25;
}

.about .privacy-note {
  font-size: 0.76rem;
  line-height: 1.25;
}

.intro,
.manifesto,
.topics,
.field-notes,
.audience,
.about {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 116px) 0;
}

.intro {
  margin-top: -1px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 86px);
  border-bottom: 1px solid var(--line);
}

.intro > p,
.about p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.manifesto {
  display: grid;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.manifesto p {
  margin: 0;
  color: #f4efe6;
  font-size: clamp(2rem, 6vw, 6.6rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
}

.manifesto p:nth-child(2) {
  color: #d9c7ad;
}

.manifesto p:nth-child(3) {
  color: var(--copper);
}

.manifesto p:nth-child(4) {
  max-width: 980px;
  color: var(--muted);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.field-notes {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  width: min(1560px, calc(100% - 40px));
  max-width: none;
}

.field-notes .section-heading {
  position: sticky;
  top: 24px;
  margin-bottom: 0;
}

.field-notes .section-heading p:not(.kicker) {
  color: var(--muted);
  font-size: 1.05rem;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.note-list {
  display: grid;
  grid-template-columns: 1.15fr 0.92fr 0.92fr;
  gap: 18px;
}

.note-list a {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(116, 183, 200, 0.06), rgba(210, 123, 76, 0.06)),
    #11191b;
}

.note-list a:first-child {
  min-height: 390px;
  background:
    linear-gradient(140deg, rgba(210, 123, 76, 0.16), rgba(116, 183, 200, 0.05)),
    #121b1d;
}

.note-list span {
  margin-bottom: auto;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.post-feed {
  display: grid;
  gap: 1px;
  max-height: 760px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--line);
  border: 1px solid var(--line);
}

.post-feed::-webkit-scrollbar {
  width: 10px;
}

.post-feed::-webkit-scrollbar-track {
  background: #0c1213;
}

.post-feed::-webkit-scrollbar-thumb {
  background: rgba(127, 170, 179, 0.38);
  border: 2px solid #0c1213;
  border-radius: 999px;
}

.post-feed article {
  min-height: auto;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  padding: 24px;
  background: #11191b;
  cursor: pointer;
  transition: background 180ms ease;
}

.post-feed article:hover,
.post-feed article:focus {
  background: #142022;
  outline: none;
}

.post-feed header {
  display: grid;
  align-content: start;
  gap: 8px;
}

.note-meta {
  display: grid;
  gap: 1px;
}

.post-feed span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.post-feed time {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.05;
}

.reaction-row {
  display: flex;
  gap: 0;
  margin-top: 10px;
}

.like-control {
  width: 28px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  line-height: 1;
  cursor: pointer;
}

.like-control .thumb {
  display: block;
  color: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
}

.like-control .count {
  display: block;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
}

.like-control:hover,
.like-control:focus {
  color: var(--ink);
  outline: none;
}

.like-control.is-selected {
  color: #85d59a;
}

.reaction-status {
  grid-column: 1 / -1;
  min-height: 1.2em;
  margin: 4px 0 0;
  color: rgba(244, 239, 230, 0.66);
  font-size: 0.78rem;
  line-height: 1.25;
}

.reaction-status.is-error {
  color: #f0a28f;
}

.reaction-status:empty {
  display: none;
}

.post-feed h3 {
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.05;
}

.post-feed.is-loading .field-note-card {
  display: none;
}

.post-feed.is-loading::before {
  display: block;
  min-height: 160px;
  padding: 26px;
  content: "Loading field notes...";
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--panel);
}

.post-feed p {
  max-width: 760px;
  margin-bottom: 0;
  color: #d8d0c2;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
}

.note-summary {
  margin-bottom: 18px;
  color: #f4efe6;
  font-size: clamp(1.12rem, 1.55vw, 1.38rem);
  font-weight: 800;
  line-height: 1.32;
}

.note-body {
  position: relative;
  max-height: 3.4em;
  overflow: hidden;
  color: var(--muted);
  white-space: pre-wrap;
}

.note-body::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2.1em;
  content: "";
  background: linear-gradient(180deg, rgba(17, 25, 27, 0), #11191b);
}

.field-note-card.is-open .note-body {
  max-height: none;
  overflow: visible;
}

.field-note-card.is-open .note-body::after {
  display: none;
}

article {
  min-height: 260px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    var(--panel);
}

article span {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-weight: 900;
}

article p,
.audience-list p {
  color: var(--muted);
}

.audience {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.audience-list p {
  margin: 0;
  padding-top: 18px;
  border-top: 4px solid var(--field);
  font-size: 1.1rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(560px, 1fr) minmax(520px, 0.82fr);
  gap: clamp(44px, 4.8vw, 76px);
  align-items: start;
  width: min(1720px, calc(100% - 120px));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.about-copy {
  max-width: 920px;
}

.about p + p {
  margin-top: 22px;
}

.about-copy p {
  line-height: 1.58;
}

.about .post-feed {
  align-self: start;
  max-height: 960px;
  margin-top: 10px;
}

.about .post-feed article {
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 24px;
}

.about .post-feed h3 {
  font-size: clamp(1.28rem, 1.65vw, 1.75rem);
}

.about .post-feed p {
  font-size: clamp(0.98rem, 1.25vw, 1.18rem);
}

.about .post-feed .note-summary {
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
}

.experience-path {
  display: grid;
  gap: 0;
  padding-top: 12px;
}

.experience-path div {
  position: relative;
  padding: 26px 0 26px 72px;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
}

.experience-path div:first-child {
  border-top: 0;
}

.experience-path span {
  position: absolute;
  left: 0;
  top: 24px;
  color: rgba(127, 170, 179, 0.46);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 0.8;
}

.experience-path h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.experience-path p {
  max-width: 440px;
  color: var(--muted);
}

.signup--dark {
  margin-top: 32px;
  margin-bottom: 3px;
}

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

.site-footer {
  width: min(1180px, calc(100% - 40px));
  display: flex;
  gap: 18px;
  margin: 0 auto;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
}

.site-footer a,
.privacy-page a,
.message-page a {
  color: var(--muted);
  text-decoration: none;
}

.privacy-page {
  min-height: 100vh;
  width: min(960px, calc(100% - 64px));
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 0;
}

.privacy-copy {
  max-width: 840px;
}

.privacy-page h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #f4efe6;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.privacy-lede {
  max-width: 700px;
  margin: 0 0 38px;
  color: #d8d0c2;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.38;
}

.privacy-details {
  display: grid;
  gap: 18px;
  max-width: 760px;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 239, 230, 0.14);
}

.privacy-details p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  margin-top: 34px;
  font-weight: 800;
}

.message-form-public {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.message-form-public label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.message-form-public textarea {
  min-height: 190px;
  padding: 14px 16px;
  color: #f4efe6;
  background: rgba(244, 239, 230, 0.12);
  border: 1px solid rgba(244, 239, 230, 0.34);
  border-radius: 6px;
  font: inherit;
  resize: vertical;
}

@media (max-width: 860px) {
  .hero {
    min-height: 62vh;
    padding: 28px 20px;
  }

  .intro,
  .about,
  .field-notes,
  .note-list,
  .audience-list {
    grid-template-columns: 1fr;
  }

  .about {
    width: min(100% - 40px, 760px);
  }

  .privacy-page {
    width: min(100% - 40px, 760px);
    align-items: flex-start;
  }

  .field-notes .section-heading {
    position: static;
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-feed article {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .signup {
    flex-direction: column;
  }

  button {
    width: 100%;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  article {
    min-height: auto;
  }

  .manifesto p {
    font-size: clamp(2.2rem, 13vw, 4.2rem);
  }

  .note-list a,
  .note-list a:first-child {
    min-height: 260px;
  }
}
