:root {
  --paper: #faf8f3;
  --ink: #162f49;
  --gold: #926320;
  --line: #d6d2c8;
  --muted: #465661;
  --serif:
    "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia,
    serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 22px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
a,
button,
input,
select,
textarea {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b38839;
  outline-offset: 4px;
}
.wrap {
  width: min(1144px, calc(100% - 112px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  background: white;
  z-index: 5;
  padding: 8px;
  top: -70px;
}
.skip:focus {
  top: 4px;
}
header {
  border-bottom: 1px solid var(--line);
}
.mast,
.foot,
nav,
.brand,
.button,
.head-cta,
.quiet,
.text-link,
.kicker,
.portrait figcaption {
  display: flex;
  align-items: center;
}
.mast {
  height: 86px;
  justify-content: space-between;
}
.brand {
  text-decoration: none;
  font:
    700 30px/1 Georgia,
    serif;
  letter-spacing: -1.6px;
  gap: 5px;
}
.brand-gold {
  color: #a06b21;
}
.mark {
  width: 37px;
  height: 38px;
  background: url(/assets/daniel-brand.png) -32px -90px / 211.2px 220.8px
    no-repeat;
  mix-blend-mode: multiply;
}
.mast nav {
  gap: 34px;
}
nav a,
.quiet,
.text-link,
.button,
.head-cta {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.head-cta {
  padding: 9px 17px;
  border: 1px solid var(--ink);
  gap: 15px;
}
.head-cta:hover {
  background: #eee9df;
}
.nav-link:hover,
.foot a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: clamp(42px, 6vw, 85px);
  align-items: center;
  padding-block: clamp(48px, 5.4vw, 80px);
}
.kicker {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  gap: 11px;
  margin: 0 0 18px;
}
.short-rule {
  width: 30px;
  height: 2px;
  background: var(--gold);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
}
h1 {
  font-size: clamp(66px, 6.65vw, 101px);
  line-height: 0.99;
  letter-spacing: -0.065em;
}
h1 em,
h2 em {
  font-weight: 400;
  color: var(--gold);
}
.lead {
  margin: 24px 0 28px;
  max-width: 470px;
  color: var(--muted);
  font-size: clamp(17px, 1.48vw, 20px);
  line-height: 1.58;
}
.button,
.quiet,
.text-link {
  display: inline-flex;
}
.button {
  background: var(--ink);
  color: white;
  border: 1px solid var(--ink);
  padding: 13px 19px;
  gap: 23px;
  line-height: 1.5;
  font-family: var(--sans);
  cursor: pointer;
}
.button:hover {
  background: #294761;
}
.button span,
.head-cta span,
.text-link span {
  font-family: Arial, sans-serif;
  font-size: 1.12em;
  line-height: 1;
}
.quiet {
  margin-left: 21px;
  gap: 9px;
}
.quiet:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.portrait {
  position: relative;
  margin: 0 8px 0 0;
}
.photo {
  position: relative;
}
.photo::before {
  content: "";
  position: absolute;
  inset: 10px -9px -9px 10px;
  border: 1px solid #a7834e;
  z-index: -1;
}
.photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.12;
  object-fit: cover;
  object-position: 50% 10%;
}
.portrait figcaption {
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.portrait figcaption strong {
  color: var(--ink);
  font: italic 21px/1 var(--serif);
}
h2 {
  font-size: clamp(39px, 4.1vw, 60px);
  letter-spacing: -0.05em;
  line-height: 1.1;
}
h3 {
  font-size: clamp(27px, 2.45vw, 35px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.lessons {
  border-top: 1px solid var(--line);
  padding: 53px 0 67px;
}
.lessons .kicker,
.about .kicker,
.contact .kicker {
  margin-bottom: 12px;
}
.lesson-grid {
  margin-top: 31px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
}
.lesson-grid article {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}
.lesson-grid article:nth-child(2) {
  border-color: #ab813f;
}
.lesson-grid p,
.contact > div > p:last-child {
  color: var(--muted);
  margin: 12px 0 18px;
  max-width: 50ch;
}
.text-link {
  gap: 10px;
  text-decoration: underline;
  text-decoration-color: #aba89f;
  text-underline-offset: 5px;
}
.about {
  background: var(--ink);
  color: #fcf9f2;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 12%;
  align-items: center;
  padding-block: 65px;
}
.about .light {
  color: #e0b673;
}
.about-grid > div > p:not(.kicker) {
  margin-top: 16px;
  color: #e2e6e9;
}
.pale {
  color: #f5e2be;
  margin-top: 17px;
}
.notebook {
  background: #f6f0df;
  color: var(--ink);
  padding: 30px clamp(23px, 3.2vw, 45px);
  border-top: 4px solid #bd985c;
}
.notebook h3 {
  font-size: 30px;
}
.exercise {
  border-bottom: 1px solid #d9d0b9;
  margin-top: 16px;
  padding-bottom: 10px;
}
.exercise span {
  font: 600 11px var(--sans);
  color: var(--muted);
}
.exercise p {
  font: italic 21px/1.35 var(--serif);
  margin: 3px 0 0;
}
.note-bottom {
  font-size: 14px;
  margin-top: 16px;
}
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10%;
  padding-block: 80px;
}
.contact form {
  display: grid;
  gap: 16px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 650;
}
input,
select,
textarea {
  display: block;
  margin-top: 5px;
  width: 100%;
  color: var(--ink);
  font: 16px var(--sans);
  background: #fffdfa;
  border: 1px solid #a3a5a1;
  border-radius: 0;
  padding: 11px 12px;
}
textarea {
  resize: vertical;
}
.privacy {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.contact button {
  justify-self: start;
}
.foot {
  gap: 20px;
  border-top: 1px solid var(--line);
  min-height: 85px;
}
.foot > .brand {
  font-size: 22px;
}
.foot > span,
.foot > a:last-child {
  color: var(--muted);
  font-size: 13px;
}
.foot > a:last-child {
  margin-left: auto;
}
.result {
  max-width: 660px;
  padding: 85px 0;
}
.result h1 {
  font-size: clamp(44px, 7vw, 72px);
}
.result .lead {
  max-width: 530px;
}
@media (max-width: 920px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 35px;
  }
  .hero h1 {
    font-size: clamp(62px, 8vw, 76px);
  }
  .lead {
    font-size: 17px;
  }
  .quiet {
    margin-left: 13px;
  }
  .about-grid,
  .contact {
    gap: 6%;
  }
  .portrait figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .mast {
    height: 68px;
  }
  .mast nav {
    gap: 0;
  }
  .nav-link {
    display: none;
  }
  .brand {
    font-size: 25px;
  }
  .head-cta {
    font-size: 13px;
    gap: 8px;
    padding: 8px 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 33px;
    padding-block: 37px;
  }
  .hero h1 {
    font-size: clamp(62px, 12vw, 79px);
  }
  .kicker {
    font-size: 10px;
    margin-bottom: 16px;
  }
  .lead {
    font-size: 17px;
    margin: 17px 0 23px;
  }
  .portrait {
    max-width: 480px;
  }
  .photo img {
    aspect-ratio: 1.44;
    object-position: center 5%;
  }
  .portrait figcaption {
    flex-direction: row;
    align-items: center;
  }
  .lessons {
    padding-block: 35px 44px;
  }
  .lesson-grid,
  .about-grid,
  .contact {
    grid-template-columns: 1fr;
  }
  .lesson-grid {
    gap: 26px;
    margin-top: 25px;
  }
  .lesson-grid article {
    padding-top: 17px;
  }
  .about-grid {
    padding-block: 42px;
    gap: 29px;
  }
  .contact {
    padding-block: 42px;
    gap: 23px;
  }
  .foot {
    gap: 12px;
    min-height: 75px;
  }
  .foot > span {
    display: none;
  }
  .result {
    padding-top: 50px;
  }
}
@media (max-width: 390px) {
  .fields {
    grid-template-columns: 1fr;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .quiet {
    margin-left: 10px;
    font-size: 13px;
  }
  .button {
    gap: 13px;
  }
  .portrait figcaption {
    font-size: 11px;
  }
  .head-cta {
    padding: 8px;
  }
  .brand {
    font-size: 23px;
  }
}

/* Blog */
.blog-head {
  padding-block: clamp(48px, 5.4vw, 76px) 30px;
}
.blog-head h1 {
  font-size: clamp(54px, 6vw, 88px);
}
.blog-head .lead {
  max-width: 560px;
  margin-bottom: 30px;
}
.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.topics a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 13px;
  border: 1px solid var(--line);
}
.topics a:hover {
  border-color: var(--ink);
}
.topics a[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 38px 7%;
  padding-block: 22px 80px;
}
.post-card {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.post-card:nth-child(even) {
  border-color: #ab813f;
}
.post-card h2,
.post-card h3 {
  font-size: clamp(27px, 2.45vw, 35px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-top: 8px;
}
.post-card h2 a,
.post-card h3 a {
  text-decoration: none;
}
.post-card h2 a:hover,
.post-card h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.post-card > p:not(.post-meta) {
  color: var(--muted);
  margin: 12px 0 16px;
  max-width: 50ch;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.post-meta a {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  text-decoration: none;
}
.empty {
  color: var(--muted);
}
.home-blog {
  padding-top: 62px;
}
.home-blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.home-blog-head .kicker {
  margin-bottom: 12px;
}
.post-list.compact {
  padding-block: 30px 0;
}
.home-blog + .contact {
  border-top: 1px solid var(--line);
  margin-top: 70px;
}
.post {
  max-width: 720px;
  padding-block: clamp(44px, 5vw, 72px) 80px;
}
.post-header .kicker a {
  text-decoration: none;
}
.post-header h1 {
  font-size: clamp(44px, 5.4vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}
.post-header .lead {
  max-width: none;
  margin: 20px 0 26px;
}
.byline {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-block: 16px;
  border-block: 1px solid var(--line);
}
.byline img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
}
.byline p {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.byline strong {
  color: var(--ink);
  font: italic 19px/1.2 var(--serif);
}
.post-image {
  margin-top: 34px;
}
.post-image img,
.prose figure img {
  display: block;
  width: 100%;
  height: auto;
}
.prose {
  padding-top: 34px;
  font-size: 18px;
  line-height: 1.72;
}
.prose > * + * {
  margin-top: 1.15em;
}
.prose h2 {
  font-size: clamp(30px, 3vw, 38px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-top: 1.7em;
}
.prose h3 {
  font-size: clamp(23px, 2.2vw, 27px);
  letter-spacing: -0.03em;
  margin-top: 1.5em;
}
.prose a {
  text-decoration-color: #aba89f;
  text-underline-offset: 4px;
}
.prose a:hover {
  text-decoration-color: currentColor;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 0.45em;
}
.prose li::marker {
  color: var(--gold);
}
.prose blockquote {
  margin-inline: 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid #bd985c;
  font: italic 22px/1.45 var(--serif);
}
.prose blockquote > * + * {
  margin-top: 0.7em;
}
.prose code {
  font-size: 0.88em;
  background: #eee9df;
  padding: 1px 5px;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin-block: 2em;
}
.prose figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.post-footer {
  margin-top: 46px;
}
.share {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.post-cta {
  margin-top: 40px;
}
.post-cta h2 {
  font-size: 30px;
  letter-spacing: -0.04em;
}
.post-cta p:not(.kicker) {
  color: var(--muted);
  margin: 10px 0 20px;
}
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  font: 19px/1.3 var(--serif);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.pager a.newer {
  grid-column: 2;
  text-align: right;
}
.pager a span {
  font: 600 11px var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.pager a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.back {
  margin: 36px 0 0;
}
.nav-link[aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.foot-blog {
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 700px) {
  .blog-head {
    padding-block: 37px 20px;
  }
  .post-list {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 50px;
  }
  .home-blog {
    padding-top: 42px;
  }
  .home-blog-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .home-blog + .contact {
    margin-top: 44px;
  }
  .post {
    padding-bottom: 50px;
  }
  .prose {
    font-size: 17px;
  }
  .prose blockquote {
    font-size: 20px;
  }
  .pager {
    grid-template-columns: 1fr;
  }
  .pager a.newer {
    grid-column: auto;
    text-align: left;
  }
}
