/* The Storyboard Method for Counseling: essay page */

:root {
  --paper: #f3eee4;
  --ink: #14110e;
  --ink-soft: #4a443c;
  --ink-faint: #6a6358;
  --rule: #d0c4b0;
  --umber: #7a5340;
  --focus: #2f4a3c;
  --link: #2c3d32;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.8;
  font-weight: 400;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.4rem 0.7rem;
  z-index: 10;
}

.skip:focus {
  top: 0.75rem;
}

.wrap,
.essay {
  width: min(40rem, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  padding: 0.85rem 0 0.75rem;
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.mark {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.15rem;
}

nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
}

nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.essay {
  padding: 4.75rem 0 4rem;
}

.title-page {
  margin: 0 0 3.75rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.55rem, 6.6vw, 4.05rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.028em;
}

.book-sub {
  margin: 0.85rem 0 0;
  font-size: clamp(1.22rem, 2.5vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink-soft);
}

.ce {
  margin: 1.05rem 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--umber);
}

.title-rule {
  display: block;
  width: 3.25rem;
  height: 0;
  margin: 1.45rem 0 1.35rem;
  border: 0;
  border-top: 1.5px solid var(--umber);
}

.offer {
  margin: 0;
  max-width: 28rem;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink);
}

.argument p,
.training p,
.contact p {
  margin: 0 0 1.35rem;
}

.argument p:last-child {
  margin-bottom: 0;
}

.pull {
  margin: 2.15rem 0 1.5rem;
  padding: 0.15rem 0 0.15rem 1.15rem;
  border: 0;
  border-left: 1.5px solid var(--umber);
}

.pull p {
  margin: 0;
  font-size: 1.38rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

h2 {
  margin: 3.15rem 0 1.15rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.directors-lead {
  margin: 0 0 1.25rem;
  max-width: 32rem;
  color: var(--ink);
  line-height: 1.55;
}

.directors dl {
  margin: 0;
}

.directors dl > div {
  margin: 0;
  padding: 0.95rem 0;
  border-top: 1px solid var(--rule);
}

.directors dl > div:last-child {
  border-bottom: 1px solid var(--rule);
}

.directors dt {
  margin: 0 0 0.28rem;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
}

.directors dd {
  margin: 0;
  max-width: 32rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

cite {
  font-style: italic;
}

.pricing table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.15rem 0 1.35rem;
}

.pricing caption {
  caption-side: top;
  text-align: left;
  margin: 0 0 0.85rem;
  font-size: 1.02rem;
  color: var(--ink-soft);
}

.pricing th,
.pricing td {
  padding: 0.72rem 0.6rem 0.72rem 0;
  text-align: left;
  vertical-align: baseline;
  border-bottom: 1px solid var(--rule);
}

.pricing thead th {
  padding-top: 0;
  padding-bottom: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1.5px solid var(--umber);
}

.pricing tbody th {
  font-size: 1.2rem;
  font-weight: 600;
}

.pricing tbody td {
  font-size: 1.12rem;
}

.pricing tbody td:last-child,
.pricing thead th:last-child {
  text-align: right;
  padding-right: 0;
  font-variant-numeric: tabular-nums;
}

.pricing tbody td:last-child {
  font-size: 1.28rem;
  font-weight: 600;
}

.per-head {
  margin: 0 0 0.7rem;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--ink);
}

.price-example {
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.price-foot {
  margin: 0;
  max-width: 32rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.who {
  margin-top: 0.15rem;
}

.creds {
  color: var(--ink-faint);
  font-size: 0.98rem;
}

form {
  margin: 2.15rem 0 0;
  padding: 0;
  max-width: 26rem;
}

label {
  display: block;
  font-size: 0.95rem;
  margin: 1.05rem 0 0.25rem;
}

label:first-of-type {
  margin-top: 0;
}

input,
textarea,
button {
  font: inherit;
  color: var(--ink);
}

input,
textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.4rem 0 0.35rem;
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
  border: 1px solid var(--rule);
  padding: 0.6rem 0.65rem;
  margin-top: 0.3rem;
}

.form-submit {
  margin: 1.4rem 0 0;
}

button {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 0.48rem 1.15rem;
  cursor: pointer;
  letter-spacing: 0.02em;
}

button:hover {
  background: var(--ink);
  color: var(--paper);
}

footer {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 0 2.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

footer .wrap {
  width: min(36rem, calc(100% - 3rem));
}

footer p {
  margin: 0 0 0.45rem;
}

footer .legal {
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.domain {
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  body {
    font-size: 1.2rem;
    line-height: 1.75;
  }

  .wrap,
  .essay,
  footer .wrap {
    width: min(36rem, calc(100% - 1.7rem));
  }

  .essay {
    padding-top: 2.6rem;
  }

  .title-page {
    margin-bottom: 2.6rem;
  }

  h1 {
    font-size: 2.15rem;
  }

  .book-sub {
    font-size: 1.12rem;
  }

  .offer {
    font-size: 1.02rem;
  }

  .pull p {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1.12rem;
    margin-top: 2.4rem;
  }

  .pricing th,
  .pricing td {
    padding-right: 0.4rem;
  }

  .pricing tbody th {
    font-size: 1.08rem;
  }

  .pricing tbody td {
    font-size: 1rem;
  }

  .pricing tbody td:last-child {
    font-size: 1.12rem;
  }
}

@media print {
  .site-header,
  form,
  .skip {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

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


/* Writing */
.writing-lead {
  margin: 0 0 2.4rem;
  max-width: 32rem;
}

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

.writing-list li {
  margin: 0;
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule);
}

.writing-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.writing-list a {
  text-decoration: none;
  color: inherit;
}

.writing-list a:hover .writing-title {
  text-decoration: underline;
}

.writing-date {
  margin: 0 0 0.28rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.writing-title {
  margin: 0 0 0.35rem;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.3;
}

.writing-dek {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.5;
}

.piece-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--umber);
}

.piece h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.15;
}

.piece-meta {
  margin: 0.85rem 0 0;
  color: var(--ink-faint);
  font-size: 0.95rem;
}

.piece-hero {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.6rem 0 2rem;
}

.piece .argument p,
.piece .argument li {
  margin: 0 0 1.25rem;
}

.piece .argument ul {
  margin: 0 0 1.35rem;
  padding-left: 1.2rem;
}

.piece-end {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}

.piece-end p {
  margin: 0 0 0.7rem;
}
