:root {
  color-scheme: only light;
  font-family: var(--site-font, Helvetica, Arial, sans-serif);
  font-size: 16px;
  color: #172b37;
  background: #f8f3e9;
  --ink: #172b37;
  --muted: #4b5b5d;
  --teal: #23423c;
  --rust: #9f4828;
  --line: #d6cabb;
  --paper: #f8f3e9;
  --info-text-size: clamp(18px, 1.5vw, 21px);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .23em; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 5px; border-radius: 2px; }
button, input, select { font: inherit; }
p, h1, h2, h3, figure, ul { margin: 0; }
.shell { width: calc(100% - 2 * var(--site-gutter)); max-width: var(--site-shell-width); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 8px; left: var(--site-gutter); padding: 8px 12px; background: var(--paper); }
.skip:not(:focus) { clip-path: inset(50%); }

.masthead {
  position: relative;
  isolation: isolate;
  background-color: #9dd7e6;
}
.masthead-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% 42%;
}
.masthead::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #b7e0e6 0%, #b7e0e6f2 24%, #b7e0e64a 60%, #b7e0e600 79%);
}
.runway-scenic {
  --scenic-x: .66;
  --scenic-y: .46;
  min-height: 100svh;
  isolation: isolate;
  background: #9dd7e6;
}
.runway-scenic::before {
  content: '';
  position: fixed;
  z-index: -1;
  inset: 0;
  background: #9dd7e6 url('denali-gravel-sunrise.webp') calc(var(--scenic-x) * 100%) calc(var(--scenic-y) * 100%) / cover no-repeat;
}
.scenic-tree-layer {
  /* Match the image’s cover crop for scenery attached to the artwork. */
  --art-width: max(100cqw, 150cqh);
  --art-height: max(100cqh, calc(100cqw * 2 / 3));
  --art-left: calc((100cqw - var(--art-width)) * var(--scenic-x));
  --art-top: calc((100cqh - var(--art-height)) * var(--scenic-y));
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  container-type: size;
  pointer-events: none;
}
.scenic-tree {
  /* Place the root well back from the gravel in the painted meadow. */
  --tree-root-x: min(100cqw - 18px, var(--art-left) + var(--art-width) * .859);
  --sun-y: calc(var(--art-top) + var(--art-height) * .422);
  --tree-root-y: min(91cqh, var(--art-top) + var(--art-height) * .758);
  --tree-height: max(112px, var(--tree-root-y) - var(--sun-y));
  position: absolute;
  left: var(--tree-root-x);
  top: var(--tree-root-y);
  width: calc(var(--tree-height) * 211 / 320);
  translate: -52% -100%;
}
.scenic-tree::before {
  content: '';
  position: absolute;
  inset: auto 18% -3% 6%;
  height: 9%;
  background: radial-gradient(ellipse, #2c352f65, transparent 70%);
  rotate: -10deg;
}
.scenic-tree img {
  position: relative;
  width: 100%;
  transform-origin: 52% 100%;
  animation: scenic-sway 15s ease-in-out infinite;
}
@keyframes scenic-sway {
  0%, 100% { rotate: .65deg; }
  50% { rotate: -2.65deg; }
}
@media (prefers-reduced-motion: reduce) {
  .scenic-tree img { animation: none; }
}
.runway-scenic .masthead { background: transparent; }
.runway-scenic .masthead::before {
  background: linear-gradient(180deg, #b7e0e6ae, #b7e0e64a 70%, transparent);
}
.page-header {
  padding-block: var(--site-nav-top) var(--site-nav-bottom);
  border-bottom: 1px solid #172b3734;
}
.page-hero { padding-block: clamp(42px, 6.5vw, 92px) clamp(50px, 7vw, 100px); }
.page-hero > h1 {
  max-width: 18ch;
  font-size: clamp(56px, 7.3vw, 104px);
  line-height: .95;
  font-weight: 700;
  letter-spacing: -.067em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.masthead-article .page-hero { padding-block: clamp(33px, 5.25vw, 74px) clamp(50px, 6vw, 86px); }
.masthead-article .page-hero h1 { max-width: 17ch; font-size: clamp(43px, 6.5vw, 88px); }
.masthead-article .page-hero .post-meta { margin-top: 19px; color: var(--ink); }
.article-back { display: inline-block; margin-bottom: 20px; font-weight: 700; }

.content { padding-block: clamp(30px, 4.2vw, 64px) clamp(54px, 7vw, 100px); }
.content h2 { font-size: clamp(23px, 3vw, 35px); letter-spacing: -.04em; line-height: 1.14; }
.content p { font-size: clamp(16px, 1.45vw, 19px); }
.content p.lead { max-width: 34ch; font-size: clamp(25px, 2.7vw, 37px); line-height: 1.27; letter-spacing: -.031em; text-wrap: pretty; }
.profile { font-size: var(--info-text-size); font-weight: 400; }
.content .profile :is(h2, p) {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: normal;
}
.text-link { color: var(--teal); font-weight: 700; }
.text-link:hover { color: var(--rust); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; }

.profile {
  display: grid;
  row-gap: clamp(22px, 3vw, 36px);
  max-width: 35em;
  padding: clamp(14px, 2vw, 28px);
  border-radius: 8px;
  background: #f8f3e9ee;
}
.runway-about .content { padding-block-start: 16px; }
.profile-intro p.lead { max-width: 60ch; }
.profile-intro p + p { margin-top: .85em; color: var(--muted); }
.profile-milestones { max-width: 700px; }
.profile-milestones h2 { margin-bottom: 12px; }
.profile-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
}
.profile-timeline li {
  display: grid;
  grid-template-columns: 5ch minmax(0, 1fr);
  gap: .75em;
  padding-block: .56em;
  border-bottom: 1px solid var(--line);
}
.profile-timeline li:first-child { border-top: 1px solid var(--line); }
.profile-timeline li > :first-child {
  width: max-content;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.profile a { color: var(--teal); }
.profile a:hover { color: var(--rust); }
.section-heading { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 15px; }
.section-heading > span { color: var(--muted); font-size: 15px; white-space: nowrap; }

.feature {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  background: #fdf8ed;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.feature.feature-text { grid-template-columns: 1fr; }
.feature-image { display: grid; place-items: center; background: #eee5d6; padding: clamp(12px, 2.25vw, 32px); }
.feature-image picture { display: block; width: 100%; }
.feature-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.feature-copy { align-self: center; padding: clamp(22px, 4vw, 56px); }
.feature-copy > h2 { font-size: clamp(32px, 4vw, 52px); max-width: 14ch; margin-block: 12px; }
.feature-copy h2 a { text-decoration: none; }
.feature-copy > p:not(.post-meta) { max-width: 32ch; color: var(--muted); }
.feature-copy .text-link { margin-top: 11px; }
.post-meta, .content p.post-meta { font-size: 14px; color: var(--muted); }
.post-meta span { padding-inline: .25em; color: var(--rust); }
.archive { margin-top: 0; scroll-margin-top: 20px; }
.feature + .archive { margin-top: clamp(40px, 6vw, 84px); }
.archive-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding-block: 14px 22px;
  border-top: 1px solid var(--line);
}
.archive-filter label { display: block; margin-bottom: 4px; font-weight: 700; font-size: 15px; }
.archive-filter input {
  width: 100%; min-height: 46px; padding: 8px 10px;
  color: var(--ink); background: #fffcf5; border: 1px solid #a59884; border-radius: 5px;
}
.archive-filter button {
  min-height: 46px; padding: 8px 20px;
  color: #fff7e6; background: var(--teal); border: 1px solid var(--teal); border-radius: 5px;
  font-weight: 700; cursor: pointer;
}
.archive-filter button:hover { background: #365e53; }
.post-list { list-style: none; padding: 0; }
.post-list li { border-top: 1px solid var(--line); padding-block: 14px 16px; }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 30px;
  font-size: clamp(19px, 2.25vw, 26px); font-weight: 700; line-height: 1.23; letter-spacing: -.025em;
  text-decoration: none;
}
.post-list .post-meta { margin-top: 4px; }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 17px; gap: 10px; }
.pagination > :last-child { justify-self: end; }
.pagination a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.pagination > span { color: var(--muted); font-size: 15px; }
.empty { padding-block: 26px; }
.article-content { max-width: 860px; }
.reading { display: grid; gap: clamp(17px, 3vw, 35px); justify-items: start; }
.reading .lead { max-width: 44ch; }
.reading figure { width: 100%; }
.reading img { width: 100%; border-radius: 6px; border: 1px solid var(--line); background: #fdf8ed; }
.reading picture { display: block; max-width: 640px; }
.reading figcaption { margin-top: 10px; color: var(--muted); }

.runway-about .page-footer a {
  padding-inline: 12px;
  border-radius: 6px;
  background: #f8f3e9ee;
}

@media (max-width: 720px) {
  .masthead-art { object-position: 73% 40%; }
  .masthead::before { background: linear-gradient(90deg, #b7e0e6f8, #b7e0e6bd 46%, #b7e0e625); }
  .runway-scenic { --scenic-x: .81; --scenic-y: .48; }
  .page-hero { padding-block: 31px 42px; }
  .page-hero > h1 { font-size: clamp(50px, 13vw, 78px); }
  .feature { grid-template-columns: 1fr; }
  .feature-image { padding: 14px 22px; }
  .feature-image img { max-height: 260px; }
  .feature-copy > h2 { max-width: none; }
}
@media (max-width: 720px) and (orientation: portrait) {
  .runway-about .profile { max-width: calc(100% - clamp(28px, 10vw, 58px)); }
}
@media (min-aspect-ratio: 3/1) and (max-height: 500px) {
  .runway-scenic { --scenic-y: .66; }
}
@media (max-width: 480px) {
  .archive-filter { gap: 8px; }
}

.blog { font-size: clamp(17px, 1.45vw, 21px); }
.blog :is(.content h2, .content p, .post-meta, .post-list a, .archive-filter label,
          .section-heading > span, .pagination > span) {
  font-size: 1em;
  letter-spacing: normal;
}
.blog .page-hero { padding-block: clamp(26px, 4.1vw, 62px) clamp(34px, 5vw, 76px); }
.blog .page-hero > h1 { font-size: clamp(36px, 5vw, 68px); }
@media (max-width: 720px), (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
  .blog .masthead-article .page-hero { padding-block: 15px 18px; }
  .blog .masthead-article .page-hero > h1 {
    max-width: none;
    font-size: clamp(29px, 7.1vw, 42px);
    line-height: 1.04;
    letter-spacing: -.04em;
  }
  .masthead-article .page-hero .post-meta { margin-top: 8px; }
  .masthead-article .article-back { display: none; }
  .masthead-article + .article-content { padding-block-start: 22px; }
}
.blog .feature-copy > h2 { max-width: none; }
.blog .reading .lead { max-width: 64ch; line-height: 1.55; }

:root {
  --wp--preset--color--primary: var(--teal);
  --wp--preset--color--contrast: var(--ink);
  --wp--preset--color--base: var(--paper);
}
.page-footer {
  border-top: 1px solid var(--line);
  padding-block: 18px max(26px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: flex-end;
  color: var(--muted);
}
.page-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.runway-about .page-footer { border-color: #f8f3e999; color: var(--ink); }
.post-list .post-meta a { display: inline; font: inherit; text-decoration: underline; }
.archive-browse { margin-top: 26px; border-top: 1px solid var(--line); padding-block: 13px; }
.archive-browse + .archive-browse { margin-top: 0; }
.archive-browse summary { cursor: pointer; min-height: 44px; align-content: center; }
.archive-browse ul { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; list-style: none; }
.archive-browse li a { display: inline-flex; min-height: 44px; align-items: center; }

.entry-content { overflow-wrap: anywhere; display: flow-root; }
.single .entry-content p:not(:has(img, picture, video, iframe)),
.single .entry-content :is(ul, ol, blockquote, h2, h3, h4) { max-width: 68ch; }
.entry-content > * + * { margin-block-start: 1.05em; }
.entry-content :is(h2, h3, h4) { font-size: 1em; letter-spacing: normal; margin-block-start: 1.5em; }
.entry-content :is(ol, ul) { padding-inline-start: 1.3em; }
.entry-content img { border-radius: 5px; }
.entry-content :is(video, iframe, object, embed) { max-width: 100%; }
.entry-content img.aligncenter, .entry-content .aligncenter { margin-inline: auto; }
.entry-content :is(.alignleft, .alignright, .wp-caption, figure) { max-width: 100%; }
.entry-content .alignleft { float: left; margin: .3em 1.1em .6em 0; }
.entry-content .alignright { float: right; margin: .3em 0 .6em 1.1em; }
.entry-content :is(.wp-caption-text, figcaption) { margin-top: .55em; color: var(--muted); }
.entry-content .emotions { max-width: 640px; }
.entry-content pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 16px; background: #fdf8ed; }
.entry-content :is(.wp-block-table, table) { max-width: 100%; }
.entry-content table { border-collapse: collapse; }
.entry-content :is(th, td) { border-bottom: 1px solid var(--line); padding: .5em; text-align: left; }
.entry-content blockquote { margin-inline: 0; padding-inline-start: 1em; border-inline-start: 2px solid var(--rust); }
.article-tags { margin-top: 1.4em; }
.article-neighbors { border-top: 1px solid var(--line); margin-top: 1.7em; padding-top: .85em; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.article-neighbors > :last-child { text-align: right; }
.article-neighbors a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2em;
  min-height: 44px;
  max-width: 100%;
  text-decoration: none;
}
.article-neighbors > :last-child a { align-items: flex-end; }
.article-neighbor-label { color: var(--muted); }
.article-neighbors a > :last-child { text-decoration: underline; }
.comments { margin-top: 2em; border-top: 1px solid var(--line); padding-top: 1em; }
.comments :is(input, textarea), .entry-content input[type="email"] { max-width: 100%; min-height: 44px; color: var(--ink); background: #fffcf5; border: 1px solid #a59884; border-radius: 5px; padding: 8px 10px; font: inherit; }
.comments .submit, .entry-content .wp-block-button__link { background: var(--teal); color: #fff7e6; font-weight: 700; border-radius: 5px; min-height: 44px; }
@media (max-width: 550px) {
  .entry-content :is(.alignleft, .alignright) { float: none; margin-inline: 0; }
}
.entry-content a:not([href]) { font: inherit; color: inherit; text-decoration: none; }
.entry-content [hidden] { display: none !important; }
