/* Writing and conversation share the portfolio's quiet editorial rhythm. */
.site-header nav a[aria-current="page"],
.site-header nav a[aria-current="location"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}
.journal-view, .article-view, .hello-view {
  max-width: 1760px;
  margin-inline: auto;
  padding: 148px var(--gutter) 72px;
}
.journal-view :focus-visible, .article-view :focus-visible,
.hello-view :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
.journal-view h1:focus, .article-view h1:focus, .hello-view h1:focus { outline: none; }

/* The journal is an open reading list, with themes as a small editorial index. */
.journal-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
  padding-bottom: 46px;
}
.journal-opening h1, .hello-opening h1 {
  margin: 0;
  font-size: clamp(66px, 7.7vw, 112px);
  line-height: .98;
  font-weight: 300;
  letter-spacing: -.06em;
}
.journal-opening > p {
  max-width: 440px;
  margin: 8px 0 0;
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.5;
  letter-spacing: -.025em;
}
.journal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-block: 1px solid var(--line);
}
.journal-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 34px; }
.journal-filters button {
  position: relative;
  min-height: 44px;
  padding-block: 11px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -.015em;
  color: #555;
}
.journal-filters button[aria-pressed="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}
.journal-filters button:hover { color: var(--accent); }
#blog-count { flex: 0 0 auto; color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.journal-entry {
  display: grid;
  grid-template-columns: minmax(170px, .9fr) minmax(0, 2.75fr) minmax(85px, .43fr);
  align-items: start;
  gap: 30px;
  padding: 28px 0 27px;
  border-bottom: 1px solid var(--line);
}
.journal-entry-meta { display: flex; align-items: baseline; gap: 22px; padding-top: 8px; }
.journal-entry-number { font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.journal-entry-theme { max-width: 160px; font-size: 9px; line-height: 1.65; letter-spacing: .12em; text-transform: uppercase; }
.journal-entry-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.45vw, 35px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.035em;
  transition: color .2s ease;
}
.journal-entry-copy > p { max-width: 760px; margin: 0; font-size: 14px; line-height: 1.65; letter-spacing: -.01em; color: #555; }
.journal-entry-end { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 7px; }
.journal-entry-end svg.folio-arrow { width: 23px; height: 23px; transition: transform .25s ease; }
.journal-read-time { white-space: nowrap; font-size: 11px; line-height: 1.5; color: var(--muted); }
.journal-entry:hover h2 { color: var(--accent); }
.journal-entry:hover .journal-entry-end svg { transform: translate(2px, -2px); }
.journal-invitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0 0;
}
.journal-invitation p { margin: 0; font-size: 20px; line-height: 1.45; letter-spacing: -.025em; }
.journal-invitation a, .article-conversation a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  font-size: 20px;
  letter-spacing: -.025em;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.journal-invitation a:hover, .article-conversation a:hover { color: var(--accent); }

/* Essays use a short line length and generous pauses between ideas. */
.article-view { padding-top: 124px; }
.article-opening { max-width: 980px; margin: 48px auto 0; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.article-theme { margin: 0 0 22px; font-size: 10px; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; }
.article-opening h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(46px, 5.5vw, 76px);
  line-height: 1.06;
  letter-spacing: -.05em;
  font-weight: 400;
  text-wrap: balance;
}
.article-deck { max-width: 800px; margin: 25px 0 0; font-size: clamp(20px, 2vw, 26px); line-height: 1.5; letter-spacing: -.02em; color: #444; }
.article-byline { display: flex; gap: 12px; align-items: center; margin: 26px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.article-body { width: min(100%, 700px); margin: 44px auto 0; font-size: 18px; line-height: 1.85; letter-spacing: -.01em; color: #333; }
.article-body p { margin: 0 0 26px; }
.article-body h2 { margin: 42px 0 18px; font-size: 29px; line-height: 1.25; letter-spacing: -.035em; font-weight: 400; color: var(--ink); }
.article-body h2:first-child { margin-top: 0; }
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 26px; }
.article-body li { padding-left: 5px; margin-bottom: 8px; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.article-conversation { width: min(100%, 700px); margin: 42px auto 0; padding-top: 30px; border-top: 1px solid var(--line); }
.article-conversation > p { margin: 0 0 15px; font-size: 20px; line-height: 1.5; letter-spacing: -.02em; }
.article-navigation { display: flex; justify-content: space-between; align-items: baseline; gap: 32px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-navigation a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; max-width: 58%; font-size: 13px; line-height: 1.5; }
.article-navigation a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
#next-article { justify-content: flex-end; text-align: right; }
#next-article svg { width: 24px; height: 24px; flex: 0 0 auto; }

/* Say Hello keeps the form as a conversation, with a direct booking alternative. */
.hello-opening { margin-bottom: 65px; }
.hello-opening h1 { font-size: clamp(76px, 9.4vw, 132px); }
.hello-opening > p { max-width: 1030px; margin: 27px 0 0; font-size: clamp(23px, 2.5vw, 34px); line-height: 1.45; letter-spacing: -.035em; }
.hello-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.05fr); align-items: start; gap: clamp(40px, 6vw, 90px); }
.hello-context h2 { margin: 0 0 22px; font-size: clamp(29px, 3.2vw, 42px); line-height: 1.15; font-weight: 300; letter-spacing: -.04em; }
.hello-context > p { margin: 0 0 24px; max-width: 340px; font-size: 18px; line-height: 1.65; letter-spacing: -.02em; }
.hello-email { display: inline-block; max-width: 100%; min-height: 44px; padding-block: 6px; font-size: clamp(16px, 1.8vw, 24px); line-height: 1.4; letter-spacing: -.025em; overflow-wrap: anywhere; }
.hello-email:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.hello-booking { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.hello-booking h3 { margin: 0 0 13px; font-size: 21px; font-weight: 400; line-height: 1.4; letter-spacing: -.025em; }
.hello-booking > a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 21px; line-height: 1.4; letter-spacing: -.025em; text-decoration: underline; text-underline-offset: 6px; }
.hello-booking > a:hover { color: var(--accent); }
.hello-booking svg.folio-arrow { width: 23px; height: 23px; }
.hello-booking > p { max-width: 330px; margin: 14px 0 0; color: #555; font-size: 14px; line-height: 1.7; }
.hello-form, .hello-field, .hello-field-pair { min-width: 0; }
.hello-field { margin-bottom: 30px; }
.hello-field label { display: block; margin-bottom: 7px; font-size: 14px; line-height: 1.5; letter-spacing: .01em; }
.hello-field input, .hello-field select, .hello-field textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #9b9b9b;
  border-radius: 0;
  padding: 9px 0 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  line-height: 1.5;
  transition: border-color .2s ease;
}
.hello-field select { min-height: 51px; padding-right: 30px; cursor: pointer; }
.hello-field textarea { min-height: 170px; resize: vertical; }
.hello-field input::placeholder, .hello-field textarea::placeholder { color: #767676; opacity: 1; }
.hello-field input:focus, .hello-field select:focus, .hello-field textarea:focus { border-bottom-color: var(--accent); }
.hello-field input:focus-visible, .hello-field select:focus-visible, .hello-field textarea:focus-visible { outline-offset: 3px; }
.hello-field-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.hello-submit { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding-block: 4px; font-size: 24px; line-height: 1.4; letter-spacing: -.025em; color: var(--accent); text-decoration: underline; text-underline-offset: 7px; }
.hello-submit svg { transition: transform .25s ease; }
.hello-submit:hover svg { transform: translate(2px, -2px); }
.hello-form-note { max-width: 550px; margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.hello-email-ready { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.75; }
.hello-email-ready p { margin: 0 0 14px; }
.hello-email-ready a, .hello-email-ready button { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.hello-email-ready button { min-height: 44px; }
#hello-copy-status { margin-left: 16px; color: var(--muted); }
.footer-group > a.footer-email { min-height: 26px; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .journal-entry { grid-template-columns: minmax(140px, .8fr) minmax(0, 2.6fr) 72px; gap: 22px; }
  .journal-entry-meta { gap: 15px; }
  .journal-entry-end { flex-direction: column; align-items: flex-end; gap: 11px; }
  .journal-filters { gap: 9px 24px; }
  .journal-filters button { font-size: 14px; }
  .hello-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 44px; }
}
@media (max-width: 800px) {
  .journal-view, .article-view, .hello-view { padding-top: 142px; padding-bottom: 56px; }
  .journal-opening { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 30px; padding-bottom: 35px; }
  .journal-opening h1 { font-size: 65px; }
  .journal-opening > p { font-size: 17px; }
  .journal-toolbar { align-items: flex-start; gap: 14px; }
  #blog-count { padding-top: 15px; }
  .journal-filters { gap: 0 22px; }
  .journal-entry { grid-template-columns: 135px minmax(0, 1fr) 30px; gap: 18px; padding-block: 26px; }
  .journal-entry-meta { gap: 12px; }
  .journal-entry-copy h2 { font-size: 25px; }
  .journal-entry-end { gap: 16px; }
  .journal-read-time { white-space: normal; text-align: right; font-size: 10px; }
  .journal-invitation p { font-size: 18px; }
  .article-opening { margin-top: 30px; }
  .article-opening h1 { font-size: 49px; }
  .article-body { font-size: 17px; }
  .hello-opening { margin-bottom: 45px; }
  .hello-opening > p { font-size: 25px; }
  .hello-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 30px; }
  .hello-context h2 { font-size: 30px; }
  .hello-context > p { font-size: 16px; }
  .hello-email { font-size: 16px; }
  .hello-booking h3, .hello-booking > a { font-size: 18px; }
  .hello-field-pair { gap: 20px; }
}
@media (max-width: 700px) {
  .journal-view, .article-view, .hello-view { padding-top: 146px; padding-bottom: 44px; }
  .journal-opening { grid-template-columns: 1fr; gap: 25px; padding-bottom: 30px; }
  .journal-opening h1 { font-size: clamp(58px, 13.8vw, 80px); }
  .journal-opening > p { max-width: 430px; margin: 0; font-size: 18px; line-height: 1.55; }
  .journal-toolbar { display: block; padding: 14px 0 16px; }
  .journal-filters { gap: 0 24px; }
  .journal-filters button { font-size: 13px; }
  #blog-count { display: block; padding-top: 10px; font-size: 11px; }
  .journal-entry { grid-template-columns: minmax(0, 1fr) 34px; gap: 14px 16px; padding: 24px 0 26px; }
  .journal-entry-meta { grid-column: 1 / -1; gap: 16px; padding: 0; }
  .journal-entry-number { font-size: 11px; }
  .journal-entry-theme { max-width: none; font-size: 9px; }
  .journal-entry-copy { grid-column: 1; }
  .journal-entry-copy h2 { margin-bottom: 10px; font-size: 27px; line-height: 1.17; }
  .journal-entry-copy > p { font-size: 13px; line-height: 1.7; }
  .journal-entry-end { grid-column: 2; grid-row: 2; padding-top: 2px; }
  .journal-entry-end svg.folio-arrow { width: 25px; height: 25px; }
  .journal-invitation { display: block; padding-top: 30px; }
  .journal-invitation p { max-width: 300px; margin-bottom: 12px; font-size: 20px; }
  .journal-invitation a, .article-conversation a { font-size: 19px; }
  .article-view > .project-back { font-size: 10px; }
  .article-opening { margin-top: 30px; padding-bottom: 27px; }
  .article-theme { margin-bottom: 18px; font-size: 9px; }
  .article-opening h1 { font-size: clamp(38px, 9.5vw, 54px); line-height: 1.1; letter-spacing: -.04em; }
  .article-deck { margin-top: 20px; font-size: 20px; line-height: 1.5; }
  .article-byline { margin-top: 20px; font-size: 11px; }
  .article-body { margin-top: 30px; font-size: 17px; line-height: 1.8; }
  .article-body p { margin-bottom: 23px; }
  .article-body h2 { margin-top: 32px; font-size: 27px; }
  .article-conversation { margin-top: 30px; padding-top: 25px; }
  .article-conversation > p { font-size: 20px; }
  .article-navigation { align-items: stretch; flex-direction: column; gap: 12px; margin-top: 38px; padding-top: 20px; }
  .article-navigation a { max-width: none; font-size: 13px; }
  #next-article { justify-content: space-between; text-align: left; }
  .hello-opening { margin-bottom: 35px; }
  .hello-opening h1 { font-size: clamp(65px, 15.4vw, 100px); }
  .hello-opening > p { margin-top: 23px; font-size: 23px; line-height: 1.45; }
  .hello-opening br { display: none; }
  .hello-layout { grid-template-columns: 1fr; gap: 38px; }
  .hello-context h2 { font-size: 32px; margin-bottom: 15px; }
  .hello-context > p { max-width: 450px; font-size: 16px; margin-bottom: 14px; }
  .hello-email { font-size: 20px; }
  .hello-booking { margin-top: 20px; padding-top: 23px; }
  .hello-booking h3 { font-size: 20px; margin-bottom: 8px; }
  .hello-booking > a { font-size: 20px; }
  .hello-booking > p { max-width: 380px; margin-top: 9px; font-size: 13px; }
  .hello-form { padding-top: 30px; border-top: 1px solid var(--line); }
  .hello-field-pair { grid-template-columns: 1fr; gap: 0; }
  .hello-field { margin-bottom: 25px; }
  .hello-field label { font-size: 13px; }
  .hello-field input, .hello-field select, .hello-field textarea { font-size: 16px; }
  .hello-field textarea { min-height: 170px; }
  .hello-submit { font-size: 23px; }
  .hello-form-note { font-size: 11px; line-height: 1.7; }
  .hello-email-ready { font-size: 13px; }
  .footer-group > a.footer-email { min-height: 32px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .journal-entry-copy h2, .journal-entry-end svg.folio-arrow,
  .hello-submit svg, .hello-field input, .hello-field select, .hello-field textarea { transition: none; }
  .journal-entry:hover .journal-entry-end svg, .hello-submit:hover svg { transform: none; }
}
