/* The Liquid Organization
   Palette taken from the cover artwork, which is the BvLB palette:
   navy, cream and orange, with the cover's pale blue as a quiet second accent. */

:root {
  --navy:        #092f66;
  --navy-deep:   #061f45;
  --navy-soft:   #1c4a8f;
  --blue-pale:   #79a6e7;
  --cream:       #fbfaf7;
  --cream-warm:  #f2efe8;
  --cream-line:  #ece8e0;
  --orange:      #df5e19;
  --ink:         #17212f;
  --ink-soft:    #4a5768;

  --serif: Didot, "Bodoni 72", "Playfair Display", "Cormorant Garamond",
           "Hoefler Text", "Times New Roman", serif;
  --sans:  "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont,
           "Segoe UI", Arial, sans-serif;

  --wrap: 1120px;
  --gap: 2.5rem;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem; top: 0.75rem;
  position: fixed; z-index: 50;
  background: var(--navy); color: var(--cream);
  padding: 0.5rem 0.9rem; border-radius: 2px;
  text-decoration: none;
}

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

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--cream-line);
}

.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
}

.wordmark { text-decoration: none; color: var(--navy); line-height: 1.15; }
.wordmark-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
}
.wordmark-sub {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--cream-line);
  border-radius: 2px;
  color: var(--navy);
  font: inherit; font-size: 0.8125rem;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.nav-list {
  display: flex; gap: 1.5rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.nav-list a:hover { color: var(--navy); border-bottom-color: var(--orange); }

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

.hero {
  background: var(--navy);
  color: var(--cream);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text { min-width: 0; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 6.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0.5rem 0 0;
  color: var(--cream-line);
}

.eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

/* The publication date is the one thing a visitor is looking for, so the hero
   eyebrow runs larger than the section eyebrows elsewhere. */
.hero .eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.18em;
}

.hero .lede {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--blue-pale);
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 2px solid var(--orange);
  max-width: 22em;
}

.byline {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236, 232, 224, 0.75);
}

.hero-body {
  margin: 1.5rem 0 0;
  max-width: 34em;
  color: rgba(236, 232, 224, 0.9);
}

.hero-cta { margin: 1.75rem 0 0.6rem; }

.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--orange);
  border-radius: 2px;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: #c44f11; border-color: #c44f11; color: #fff; }

.fineprint {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(236, 232, 224, 0.65);
}
.fineprint a { color: var(--blue-pale); }

.hero-cover img {
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  border-radius: 2px;
}

/* ---------- bands ---------- */

.band { padding: 3.75rem 0; }
.band.short { padding: 5rem 0; }

.band-tint { background: var(--cream-warm); }

.band-dark {
  background: var(--navy-deep);
  color: var(--cream-line);
}
.band-dark a { color: var(--blue-pale); }
.band-dark a:hover { color: var(--orange); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.2;
  letter-spacing: 0.005em;
  margin: 0.6rem 0 1.5rem;
  max-width: 24em;
  color: var(--navy);
}
.band-dark .section-title { color: var(--cream-line); }
.section-title em { display: block; font-style: italic; color: var(--navy-soft); }
.band-dark .section-title em { color: var(--blue-pale); }

.section-intro {
  max-width: 46em;
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
}
.band-dark .section-intro { color: rgba(236, 232, 224, 0.85); }

.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.cols-2 > p { margin: 0; max-width: 34em; }

.pull {
  margin: 2.25rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 2px solid var(--orange);
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  line-height: 1.35;
  font-style: italic;
  max-width: 40em;
  color: var(--cream-line);
}

/* ---------- structure ---------- */

.parts { gap: 3rem; }
.part { border-top: 1px solid var(--cream-line); padding-top: 1.1rem; }
.part-label {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.part h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.375rem;
  margin: 0.4rem 0 0.6rem;
  color: var(--navy);
}
.part p { margin: 0; color: var(--ink-soft); }

/* ---------- chapters ---------- */

.chapter-cols { gap: 3rem; }

.chapter-part {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(9, 47, 102, 0.15);
  font-weight: 600;
}

.chapter-list { list-style: none; margin: 0; padding: 0; }

.chapter {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(9, 47, 102, 0.09);
}
.chapter:last-child { border-bottom: none; }

.chapter-no {
  grid-row: span 2;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--navy-soft);
  padding-top: 0.1rem;
}
.chapter-name {
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: var(--navy);
}
.chapter-desc {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* ---------- authors ---------- */

.authors-grid { gap: 3rem; margin-top: 0.5rem; }

.author {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 0 1.25rem;
  align-items: start;
  border-top: 2px solid var(--orange);
  padding-top: 1.25rem;
}

.author-body { min-width: 0; }

.author h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.15;
  margin: -0.2rem 0 0.2rem;
  color: var(--navy);
}
.author-role {
  margin: 0 0 0.9rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.author p { color: var(--ink-soft); }
.author-label {
  margin: 0 0 0.3rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--cream-line);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.author-brings { color: var(--ink); }
.author-link { margin-bottom: 0; }

.portrait {
  width: 124px; height: 124px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--navy);
  position: relative;
}
.portrait picture, .portrait img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  /* A missing file must not spill its alt text out of the frame. */
  font-size: 0; color: transparent;
}
/* Initials sit underneath, and show only when there is no photograph. */
.portrait::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.375rem;
  letter-spacing: 0.04em;
  color: var(--cream-line);
}
.portrait.no-photo::after { z-index: 1; }

.link-arrow {
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 1px;
}
.link-arrow::after { content: " \203A"; }

/* ---------- ladder ---------- */

.rungs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.rung {
  border-top: 1px solid rgba(9, 47, 102, 0.2);
  padding-top: 0.9rem;
}
.rung-no {
  font-family: var(--serif);
  font-size: 0.875rem;
  color: var(--orange);
  letter-spacing: 0.1em;
}
.rung h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.125rem;
  margin: 0.35rem 0 0.15rem;
  color: var(--navy);
}
.rung-verb {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.rung p { font-size: 0.875rem; color: var(--ink-soft); margin: 0; }

.contact-strip {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(9, 47, 102, 0.15);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.rung-foot { margin: 0; max-width: 34em; color: var(--ink-soft); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { margin-bottom: 0.5rem; }
.contact-name {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ---------- notify ---------- */

.notify-inner { max-width: 46rem; }

.notify-form {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin: 0 0 0.9rem;
}

.field { display: block; flex: 1 1 18rem; }
.field-label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-pale);
  margin-bottom: 0.4rem;
}
.field input {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(236, 232, 224, 0.35);
  border-radius: 2px;
  background: rgba(251, 250, 247, 0.06);
  color: var(--cream);
}
.field input::placeholder { color: rgba(236, 232, 224, 0.45); }
.field input:focus { border-color: var(--orange); outline: none; }

.hp { position: absolute; left: -9999px; }

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

.site-foot {
  background: var(--navy);
  color: rgba(236, 232, 224, 0.85);
  padding: 3rem 0 1.5rem;
  font-size: 0.875rem;
}

.foot-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.foot-brand { max-width: 30em; }

.foot-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cream-line);
  margin: 0 0 0.4rem;
}
.foot-sub { margin: 0; color: rgba(236, 232, 224, 0.65); }

.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.foot-col h2 {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.6rem;
  font-weight: 600;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 0.35rem; }
.foot-col a, .foot-legal a {
  color: rgba(236, 232, 224, 0.85);
  text-decoration: none;
}
.foot-col a:hover, .foot-legal a:hover { color: var(--orange); }

.foot-legal {
  border-top: 1px solid rgba(236, 232, 224, 0.15);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: rgba(236, 232, 224, 0.6);
}
.foot-legal p { margin: 0; }


/* ---------- legal pages ---------- */

.legal { padding: 3.25rem 0 4rem; }

.prose { max-width: 46rem; }

.page-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 0.5rem 0 1.5rem;
  color: var(--navy);
}

.lede-legal {
  font-size: 1.0625rem;
  color: var(--ink);
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--orange);
}

.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--navy);
  margin: 2rem 0 0.5rem;
}

.prose p, .prose li { color: var(--ink-soft); }
.prose p { margin: 0 0 0.9rem; }
.prose ul { margin: 0 0 0.9rem; padding-left: 1.1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--navy); font-weight: 600; }

.address {
  font-style: normal;
  line-height: 1.65;
  padding-left: 0.9rem;
  border-left: 2px solid var(--cream-line);
}

.legal-date {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-line);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* ---------- responsive ---------- */


@media (max-width: 980px) {
  .rungs { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
}

@media (max-width: 820px) {
  .hero { padding: 3rem 0 2.75rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-cover { order: -1; }
  .hero-cover img { margin: 0 auto; max-width: 240px; }
  .hero .lede { max-width: none; }

  .cols-2, .chapter-cols, .parts, .authors-grid, .foot-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-strip { grid-template-columns: 1fr; gap: 1.25rem; }
  .author { grid-template-columns: 88px minmax(0, 1fr); gap: 0 1rem; }
  .portrait { width: 88px; height: 88px; }
  .portrait::after { font-size: 1.125rem; }
  .authors-grid { gap: 2.25rem; }
  .band { padding: 2.75rem 0; }

  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-line);
    padding: 0.5rem 1.5rem 1rem;
  }
  .nav-list.is-open { display: flex; }
  .nav-list li { border-top: 1px solid var(--cream-line); }
  .nav-list a { display: block; padding: 0.7rem 0; border-bottom: none; }
  .head-inner { position: relative; }
  .site-head { position: static; }
}

@media (max-width: 520px) {
  .rungs { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .notify-form { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
}

@media print {
  .site-head, .notify-form, .btn { display: none; }
  body { background: #fff; color: #000; }
}
