@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fafbf9;
  --ink: #263b45;
  --muted: #4e626e;
  --link: #245c86;
  --line: #cfdddd;
  --soft: #eaf2f3;
  --sky: #c6e6ef;
  --focus: #8d4300;
  --display: Georgia, "Times New Roman", serif;
}

:root[data-theme="evening"] {
  color-scheme: dark;
  --paper: #15212b;
  --ink: #e7eef0;
  --muted: #b1c2cc;
  --link: #9acdec;
  --line: #3b505e;
  --soft: #243746;
  --sky: #294d60;
  --focus: #f5cd8c;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  scrollbar-color: var(--muted) var(--paper);
}
body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--sky), var(--paper) 900px) no-repeat,
    var(--paper);
  color: var(--ink);
  font:
    400 16px/1.85 Manrope,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--link);
  color: var(--paper);
}
a {
  color: var(--link);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration: underline;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
  border-radius: 2px;
}
input {
  caret-color: var(--link);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(780px, calc(100% - 64px));
  margin-inline: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  text-wrap: balance;
}
h1 {
  font-size: clamp(42px, 5vw, 58px);
  letter-spacing: -0.035em;
  line-height: 1.2;
}
h1 span {
  color: var(--link);
}
h2 {
  font-size: 34px;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  text-wrap: pretty;
}
p {
  max-width: 70ch;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.quiet-name {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  color: var(--ink);
  background: transparent;
  padding: 10px;
  border-radius: 6px;
}
.theme-toggle:hover {
  background: var(--soft);
}
.theme-label {
  font-size: 12px;
}
.sun-icon {
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="evening"] .sun-icon {
  transform: rotate(45deg);
}
.intro {
  padding: 18px 0 60px;
}
.specialist-title {
  display: block;
  margin-top: 16px;
  max-width: 38ch;
  font:
    500 clamp(20px, 2.5vw, 25px) / 1.5 Manrope,
    sans-serif;
  letter-spacing: -0.015em;
}
.intro-contact {
  margin-top: 16px;
}
.expertise-list {
  margin: 0;
}
.expertise-list > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.expertise-list dt {
  font-weight: 700;
  font-size: 16px;
}
.expertise-list dd {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.section-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}
.talk-summary p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}
.resource-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.resource-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.resource-list span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.professional-quote {
  margin-top: 32px;
}
.faq-item + .faq-item {
  margin-top: 28px;
}
.faq-item p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 10px;
}
.journey-list div > p + p {
  max-width: 55ch;
  font-size: 13px;
  margin-top: 10px;
}
.intro-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.intro-nav a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding-block: 8px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
}
.intro-nav a:hover {
  text-decoration: underline;
}
.letter {
  max-width: 660px;
  margin-top: 26px;
  font-size: 17px;
}
.letter p + p {
  margin-top: 21px;
}
.letter a {
  text-decoration: underline;
  text-decoration-color: currentColor;
}
.letter a:hover {
  text-decoration-thickness: 2px;
}
.personal-note {
  font-family: var(--display);
  font-style: italic;
  color: var(--muted);
  padding-top: 4px;
}
.intro-signoff {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}
.intro-signoff > img {
  width: 58px;
  height: 66px;
  object-fit: cover;
  border-radius: 4px;
}
.signature {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}
.intro-signoff nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin-top: 4px;
}
.intro-signoff nav a {
  font-size: 12px;
  padding-block: 6px;
  color: var(--muted);
  text-decoration: none;
}
.intro-signoff nav a:hover {
  color: var(--link);
  text-decoration: underline;
}
.arrow {
  display: inline-block;
  width: 16px;
  height: 10px;
  position: relative;
  flex-shrink: 0;
  border-top: 1.5px solid currentColor;
  transform: translateY(4px);
}
.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.diagonal {
  transform: rotate(-45deg) translateY(3px);
}
.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 26px;
}
.section-heading p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--link);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
}
.section-heading > .text-link {
  flex-shrink: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--link);
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.button:hover {
  border-color: var(--link);
}
.writing-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 6px 11px;
  min-height: 40px;
  font-size: 12px;
  border-radius: 5px;
}
.filter:hover {
  color: var(--link);
  border-color: var(--line);
}
.filter[aria-pressed="true"] {
  background: var(--soft);
  border-color: var(--line);
  color: var(--ink);
}
.search-label {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: var(--muted);
  gap: 3px;
}
.search-label input {
  width: 210px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 5px;
  font-size: 12px;
  min-height: 40px;
}
.search-label input::placeholder {
  color: var(--muted);
}
.result-count {
  font-size: 11px;
  color: var(--muted);
  min-height: 21px;
}
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.article-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  column-gap: 28px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.article-cover {
  grid-column: 2;
  grid-row: 1 / 5;
  width: 150px;
  height: 112px;
  object-fit: cover;
  border-radius: 5px;
  align-self: center;
}
.article-meta {
  grid-column: 1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 7px;
  font-variant-numeric: tabular-nums;
}
.article-card h3 {
  grid-column: 1;
  font-size: 17px;
  line-height: 1.55;
}
.article-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.article-card h3 a:hover {
  color: var(--link);
  text-decoration: underline;
}
.article-card > p {
  grid-column: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 9px;
}
.article-card > .text-link {
  grid-column: 1;
  font-size: 12px;
  margin-top: 4px;
}
.article-card:not(:has(.article-cover)) {
  grid-template-columns: 1fr;
}
.writing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}
.writing-footer > a:last-child {
  color: var(--muted);
  font-size: 12px;
  padding-block: 12px;
}
.empty-state {
  padding: 28px;
  margin-block: 20px;
  background: var(--soft);
  border-radius: 6px;
}
.empty-state p {
  margin-block: 10px 18px;
}
.featured-project {
  display: block;
  text-decoration: none;
  margin-bottom: 32px;
}
.featured-project > img {
  aspect-ratio: 2 / 1;
  width: 100%;
  object-fit: cover;
  object-position: center 57%;
  border-radius: 6px;
}
.featured-project > span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  color: var(--ink);
  font-size: 14px;
}
.featured-project > span > span:not(.arrow) {
  color: var(--muted);
  font-size: 12px;
}
.featured-project .arrow {
  margin-left: auto;
  color: var(--link);
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.project-card {
  text-decoration: none;
  display: block;
  min-width: 0;
}
.project-card > img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}
.project-card h3 {
  color: var(--ink);
  font-size: 16px;
}
.project-card:hover h3 {
  color: var(--link);
  text-decoration: underline;
}
.project-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 6px;
}
.project-meta {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 10px;
}
.project-archive {
  margin-top: 32px;
  border-block: 1px solid var(--line);
}
summary {
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  list-style: none;
  font-size: 14px;
}
summary::-webkit-details-marker {
  display: none;
}
.plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 1px;
  top: 6px;
  left: 0;
  background: currentColor;
}
.plus::after {
  transform: rotate(90deg);
}
details[open] .plus::after {
  transform: rotate(0);
}
.archive-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-size: 14px;
}
.archive-list small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.github-link {
  margin-top: 15px;
}
.journey-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.journey-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.journey-list h3 {
  font-size: 15px;
}
.journey-list a {
  text-decoration: none;
  color: var(--ink);
}
.journey-list a:hover {
  color: var(--link);
  text-decoration: underline;
}
.journey-list p,
.journey-list li > span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.journey-list li > span {
  flex-shrink: 0;
  text-align: right;
}
.profile-link {
  margin-top: 16px;
}
.recommendations {
  margin-top: 24px;
}
.quotes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-top: 12px;
}
blockquote {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.6;
  margin: 0 0 16px;
}
figcaption {
  font-size: 12px;
  font-weight: 600;
}
figcaption span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.quote-note {
  color: var(--muted);
  font-size: 11px;
  margin-top: 24px;
}
.contact-section p {
  color: var(--muted);
  font-size: 15px;
  max-width: 55ch;
  margin-block: 15px 12px;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  gap: 12px 24px;
  padding-block: 26px 40px;
}
.site-footer p {
  font-size: 11px;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.site-footer nav a {
  font-size: 11px;
  color: var(--muted);
  padding-block: 10px;
  text-decoration: none;
}
.site-footer nav a:hover {
  color: var(--link);
  text-decoration: underline;
}
.template-credit {
  flex-basis: 100%;
  opacity: 0.9;
}
.project-page {
  padding-block: 32px 64px;
}
.project-page h1 {
  font-size: clamp(34px, 4vw, 48px);
  max-width: 26ch;
}
.header-inner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.project-header-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wordmark {
  font-family: var(--display);
  color: var(--ink);
  font-size: 25px;
  text-decoration: none;
}
.project-context {
  color: var(--muted);
  font-size: 13px;
  margin-top: 20px;
}
.project-hero-image {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  background: var(--soft);
  border-radius: 6px;
  margin-block: 36px 48px;
}
.project-body {
  max-width: 680px;
  margin-inline: auto;
}
.project-body p {
  margin-top: 23px;
  color: var(--muted);
  overflow-wrap: break-word;
}
.project-body h2 {
  font-size: 29px;
}
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-block: 30px;
}
.project-video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  background: var(--soft);
  border-radius: 6px;
  margin-block: 30px;
}
.project-return {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 20px;
}

@media (max-width: 600px) {
  .desktop-break {
    display: none;
  }
  .container {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 80px;
  }
  .intro {
    padding-top: 12px;
    padding-bottom: 44px;
  }
  h1 {
    font-size: 42px;
  }
  h2 {
    font-size: 30px;
  }
  .intro-nav {
    gap: 8px 21px;
    margin-top: 14px;
  }
  .intro-nav a {
    font-size: 13px;
  }
  .letter {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.9;
  }
  .letter p + p {
    margin-top: 19px;
  }
  .signature {
    font-size: 20px;
  }
  .intro-signoff nav {
    gap: 0 15px;
  }
  .intro-signoff nav a {
    font-size: 11px;
  }
  .section {
    padding-block: 42px;
  }
  .section-heading {
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 22px;
  }
  .writing-tools {
    align-items: stretch;
    gap: 16px;
  }
  .search-label,
  .search-label input {
    width: 100%;
  }
  .article-card {
    grid-template-columns: minmax(0, 1fr) 88px;
    column-gap: 16px;
    padding-block: 24px;
  }
  .article-cover {
    width: 88px;
    height: 88px;
    grid-row: 1/3;
    align-self: start;
    margin-top: 4px;
  }
  .article-card h3 {
    font-size: 16px;
    line-height: 1.6;
  }
  .article-card > p {
    grid-column: 1/-1;
    margin-top: 12px;
  }
  .article-meta {
    font-size: 10px;
    gap: 8px;
  }
  .article-card > .text-link {
    grid-column: 1/-1;
  }
  .featured-project > img {
    aspect-ratio: 3/2;
  }
  .featured-project > span {
    flex-wrap: wrap;
    gap: 2px 12px;
  }
  .featured-project > span > span:not(.arrow) {
    width: 100%;
    order: 2;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .project-card {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }
  .project-card > img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 4px 0 0;
  }
  .project-card h3 {
    font-size: 15px;
  }
  .project-card p {
    font-size: 12px;
  }
  .project-meta {
    font-size: 10px;
  }
  .journey-list li {
    flex-direction: column;
    gap: 3px;
    padding-block: 17px;
  }
  .journey-list li > span {
    text-align: left;
    margin: 0;
  }
  .quotes-grid {
    grid-template-columns: 1fr;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .project-page {
    padding-top: 22px;
  }
}
.article-meta,
.project-meta,
.search-label,
.result-count,
.intro-signoff nav a,
.site-footer p,
.site-footer nav a,
.quote-note,
figcaption span {
  font-size: 12px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
