@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&display=swap");

:root {
  --page: #ffffff;
  --soft: #b8b8b8;
  --text: #5e5e5e;
  --muted: #3a3a3a;
  --ink: #050505;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --site-scale: 0.8;
  --writing-scale: 0.6;
  --top-rail-height: calc(76px * var(--site-scale));
  --bottom-rail-height: calc(78px * var(--site-scale));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}

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

a:hover,
a:focus-visible {
  color: #555555;
}

@media (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor * {
    cursor: none !important;
  }

  .cursor-dot {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #1042ff;
    box-shadow: 0 0 16px rgba(16, 66, 255, 0.3);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 120ms ease,
      width 120ms ease,
      height 120ms ease,
      background-color 120ms ease;
  }

  .cursor-dot.is-visible {
    opacity: 1;
  }

  .cursor-dot.is-pressed {
    width: 8px;
    height: 8px;
    background: #0b34d9;
  }
}

.homepage {
  min-height: 100vh;
  background: var(--page);
}

.homepage::before,
.homepage::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  z-index: 9;
  background: var(--page);
  pointer-events: none;
}

.homepage::before {
  top: 0;
  height: var(--top-rail-height);
}

.homepage::after {
  bottom: 0;
  height: var(--bottom-rail-height);
}

.topbar {
  position: fixed;
  z-index: 10;
  top: calc(33px * var(--site-scale));
  left: calc(33px * var(--site-scale));
  right: calc(33px * var(--site-scale));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}

.identity,
.social-links {
  pointer-events: auto;
}

.identity {
  position: relative;
  display: inline-block;
}

.name {
  display: inline-block;
  color: var(--soft);
  font-size: calc(16px * var(--site-scale));
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.hero-age strong {
  color: var(--ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.social-links {
  display: flex;
  align-items: flex-start;
  gap: calc(36px * var(--site-scale));
  color: var(--soft);
  font-size: calc(16px * var(--site-scale));
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.page-column {
  width: min(700px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 112px 0 170px;
  zoom: var(--site-scale);
}

.hero {
  padding-top: 20px;
}

.hero-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 0;
}

.hero-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 44px;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.hero-age {
  margin: 10px 0 22px;
  color: #6a6a6a;
  font-size: 13px;
  line-height: 1;
}

.day-tracker {
  display: grid;
  grid-template-columns: repeat(26, 1fr);
  gap: 3px;
  width: 100%;
  max-width: 700px;
}

.tracker-tile {
  display: block;
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--tile-shade);
  cursor: pointer;
  transition: background-color 120ms ease, opacity 120ms ease, transform 120ms ease;
}

.tracker-tile:hover,
.tracker-tile:focus-visible {
  background: #111111;
  opacity: 1 !important;
  outline: none;
  transform: translateY(-1px);
}

.intro-copy {
  max-width: 690px;
  margin: 56px 0 0;
  color: #111111;
  font-size: 16px;
  line-height: 1.6;
}

.timeline {
  margin-top: 76px;
  color: #626262;
}

.timeline h2 {
  margin: 0 0 34px;
  color: #5f5f5f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
}

.timeline-year {
  margin-bottom: 30px;
  color: #5e5e5e;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.timeline-group + .timeline-group {
  margin-top: 48px;
}

.timeline-list {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  transition: transform 180ms ease;
  will-change: transform;
}

.timeline-item:hover,
.timeline-item:focus-within {
  transform: translateX(10px);
}

.timeline-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1px solid #111111;
  border-radius: 4px;
  color: #111111;
  background: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.logo-embassy {
  overflow: hidden;
  border-radius: 50%;
  border: 0;
  background: #ffffff url("assets/us-embassy-paris.svg") center / cover no-repeat;
}

.logo-affinity {
  border: 0;
  border-radius: 4px;
  background: #171b18 url("assets/affinity-partners.svg") center / cover no-repeat;
}

.logo-millennium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: #2937c7;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 0.82;
  padding-bottom: 2px;
}

.logo-sreg {
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #000000 url("assets/sreg-logo.svg") center / cover no-repeat;
}

.logo-kushner {
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #ffffff url("assets/kushner-logo.svg") center / contain no-repeat;
}

.logo-birch {
  border: 0;
  border-radius: 4px;
  background: #050505;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.logo-birch {
  font-size: 9px;
}

.logo-thrive {
  border: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #ffffff url("assets/thrive-capital.svg") center / contain no-repeat;
}

.timeline-copy h3 {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-transform: lowercase;
}

.company-name {
  position: relative;
  display: inline-block;
  margin-right: -21px;
  padding-right: 21px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.company-open-link {
  position: absolute;
  right: 2px;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: #111111;
  opacity: 0;
  pointer-events: none;
  transform: translate(-5px, -50%) scale(0.92);
  transition:
    color 140ms ease,
    opacity 140ms ease,
    transform 140ms ease;
}

.company-open-link::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14%203h7v7'/%3E%3Cpath%20d='M10%2014%2021%203'/%3E%3Cpath%20d='M21%2014v5a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14%203h7v7'/%3E%3Cpath%20d='M10%2014%2021%203'/%3E%3Cpath%20d='M21%2014v5a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V5a2%202%200%200%201%202-2h5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.company-name:hover .company-open-link,
.company-name:focus-within .company-open-link {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%) scale(1);
}

.company-open-link:hover,
.company-open-link:focus-visible {
  color: #5a5a5a;
  outline: none;
}

.company-name:focus-visible {
  outline: none;
}

.company-name::after {
  content: "";
  position: absolute;
  left: 0;
  right: 21px;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.company-name:hover::after,
.company-name:focus-within::after {
  transform: scaleX(1);
}

.timeline-copy p {
  max-width: 660px;
  margin: 0;
  color: #5e5e5e;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.statusbar {
  position: fixed;
  z-index: 10;
  left: calc(36px * var(--site-scale));
  right: calc(33px * var(--site-scale));
  bottom: calc(28px * var(--site-scale));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #111111;
  font-size: calc(14px * var(--site-scale));
  line-height: 1;
  pointer-events: none;
}

.palette,
.clock,
.date {
  pointer-events: auto;
}

.palette {
  display: flex;
  gap: calc(11px * var(--site-scale));
  align-items: center;
}

.dot {
  position: relative;
  display: block;
  width: calc(14px * var(--site-scale));
  height: calc(14px * var(--site-scale));
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.dot::before,
.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dot::before {
  background: var(--dot-color);
  transform: translateY(0);
}

.dot::after {
  background: #000000;
  transform: translateY(115%);
}

.palette:hover .dot::before,
.palette:focus-within .dot::before {
  transform: translateY(-115%);
}

.palette:hover .dot::after,
.palette:focus-within .dot::after {
  transform: translateY(0);
}

.green {
  --dot-color: #5fd47e;
}

.blue {
  --dot-color: #5f8ec9;
}

.red {
  --dot-color: #d14e52;
}

.peach {
  --dot-color: #ed9a76;
}

.palette .dot:nth-child(1)::before,
.palette .dot:nth-child(1)::after {
  transition-delay: 0ms;
}

.palette .dot:nth-child(2)::before,
.palette .dot:nth-child(2)::after {
  transition-delay: 70ms;
}

.palette .dot:nth-child(3)::before,
.palette .dot:nth-child(3)::after {
  transition-delay: 140ms;
}

.palette .dot:nth-child(4)::before,
.palette .dot:nth-child(4)::after {
  transition-delay: 210ms;
}

.clock {
  justify-self: center;
}

.date {
  justify-self: end;
}

.private-column {
  width: min(1720px, calc(100vw - 80px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 172px 0 180px;
  zoom: var(--writing-scale);
}

.pin-gate {
  min-height: calc(100vh / var(--site-scale) - 232px);
  display: grid;
  align-content: center;
}

.pin-gate h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.pin-gate p {
  max-width: 420px;
  margin: 0;
  color: #5e5e5e;
  font-size: 15px;
  line-height: 1.6;
}

.pin-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.pin-form input {
  width: 92px;
  height: 34px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  outline: none;
  padding: 0 10px;
}

.pin-form input:focus {
  border-color: #111111;
}

.pin-form button {
  height: 34px;
  border: 1px solid #111111;
  border-radius: 6px;
  background: #111111;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 0 14px;
  cursor: pointer;
}

.pin-error {
  min-height: 24px;
  margin-top: 12px !important;
  color: #9b2d2d !important;
}

.writing-page {
  color: #1a1a1a;
}

.writing-page[data-active-view="photos"] .writing-grid {
  display: none;
}

.writing-page[data-active-view="writing"] .photo-grid {
  display: none;
}

.writing-header {
  max-width: 760px;
  margin-bottom: 42px;
}

.private-section-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  width: max-content;
  margin: 0 0 34px;
  border: 1px solid #dddddd;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  color: #9b9b9b;
  font-size: 18px;
  line-height: 1;
  padding: 4px;
}

.private-section-tabs button {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  padding: 0 15px;
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.private-section-tabs button:hover,
.private-section-tabs button:focus-visible {
  color: #111111;
  outline: none;
}

.private-section-tabs button.is-active {
  background: #ffffff;
  box-shadow: 0 0 0 5px #bcdcff;
  color: #111111;
}

.writing-title-button {
  display: inline-block;
  margin: 0 0 28px;
  border: 0;
  background: transparent;
  color: #202020;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 118px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  padding: 0;
  cursor: pointer;
}

.writing-title-button:hover,
.writing-title-button:focus-visible {
  color: #050505;
  outline: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 10px;
}

.writing-header p {
  margin: 0;
  color: #9ca0a6;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
}

.note-compose {
  max-width: 700px;
  margin: 0 0 30px;
}

.note-compose form {
  display: grid;
  gap: 10px;
}

.note-form-row {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 10px;
}

.note-compose input,
.note-compose textarea {
  width: 100%;
  border: 1px solid #ededed;
  border-radius: 7px;
  background: #fafafa;
  color: #111111;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  outline: none;
}

.note-compose input {
  height: 42px;
  padding: 0 13px;
}

.note-compose textarea {
  min-height: 118px;
  resize: vertical;
  padding: 12px 13px;
}

.note-compose input:focus,
.note-compose textarea:focus {
  border-color: #cfcfcf;
  background: #ffffff;
}

.note-compose button {
  justify-self: start;
  height: 36px;
  border: 1px solid #111111;
  border-radius: 6px;
  background: #111111;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 0 14px;
  cursor: pointer;
}

.log-compose {
  max-width: 760px;
  margin: -56px 0 76px auto;
  font-family: var(--font-sans);
}

.log-compose form {
  display: grid;
  gap: 10px;
}

.log-compose input,
.log-compose textarea {
  width: 100%;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  background: #fbfbfb;
  color: #111111;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  outline: none;
}

.log-compose input {
  height: 38px;
  padding: 0 12px;
}

.log-compose textarea {
  min-height: 126px;
  resize: vertical;
  padding: 11px 12px;
}

.log-compose input:focus,
.log-compose textarea:focus {
  border-color: #bfbfbf;
  background: #ffffff;
}

.log-compose button {
  justify-self: start;
  height: 34px;
  border: 1px solid #303840;
  border-radius: 5px;
  background: #303840;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 0 13px;
  cursor: pointer;
}

.writing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.writing-card {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: #fafafa;
  padding: 18px 18px 24px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.writing-card:hover,
.writing-card:focus-within {
  background: #f5f5f5;
  transform: translateY(-2px);
}

.writing-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9da1a7;
  font-size: 15px;
  line-height: 1;
}

.writing-card-body h2 {
  max-width: 350px;
  margin: 0 0 10px;
  color: #050505;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.writing-card-body time {
  display: block;
  margin-bottom: 20px;
  color: #9da1a7;
  font-size: 15px;
  line-height: 1;
}

.writing-card-body p {
  margin: 0;
  color: #1f2933;
  font-size: 17px;
  line-height: 1.42;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 8px;
}

.photo-empty-card,
.photo-card {
  min-height: 410px;
  border: 0;
  border-radius: 7px;
  overflow: hidden;
  background: #fafafa;
}

.photo-empty-card {
  display: grid;
  place-items: center;
  color: #9da1a7;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.photo-empty-card:hover,
.photo-empty-card:focus-visible {
  background: #f5f5f5;
  color: #111111;
  outline: none;
  transform: translateY(var(--photo-drop, 22px));
}

.photo-card {
  position: relative;
  display: flex;
  min-height: 410px;
  color: #ffffff;
  isolation: isolate;
  transition: filter 180ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.photo-card.is-wide {
  grid-column: span 2;
}

.photo-card:hover,
.photo-card:focus-within {
  transform: translateY(var(--photo-drop, 24px));
}

.photo-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.12)),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
  opacity: 0.55;
  pointer-events: none;
}

.photo-card-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 36%, rgba(0, 0, 0, 0.42));
}

.photo-card-top,
.photo-card-bottom {
  position: absolute;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.photo-card-top {
  top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1;
}

.photo-card-top button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 160ms ease, color 160ms ease;
}

.photo-card:hover .photo-card-top button,
.photo-card:focus-within .photo-card-top button {
  opacity: 1;
}

.photo-card-top button:hover,
.photo-card-top button:focus-visible {
  color: #ffffff;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.photo-card-bottom {
  bottom: 24px;
  display: block;
}

.photo-film {
  display: inline-block;
  margin-bottom: 14px;
  border-radius: 5px;
  background: rgba(20, 20, 20, 0.58);
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1;
  padding: 8px 10px;
}

.photo-card h2 {
  max-width: 92%;
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.28);
}

.tone-mono img {
  filter: grayscale(1) contrast(1.16) brightness(0.96);
}

.tone-warm img {
  filter: sepia(0.32) saturate(1.08) contrast(0.97) brightness(1.02);
}

.tone-botanical img {
  filter: sepia(0.18) saturate(0.92) contrast(0.96) brightness(1.04);
}

.tone-cinema img {
  filter: saturate(0.82) contrast(1.04) brightness(1.02);
}

.tone-soft img {
  filter: sepia(0.12) saturate(0.9) contrast(0.94) brightness(1.05);
}

.note-reader {
  color: #303840;
  font-family: Georgia, "Times New Roman", serif;
}

.reader-open .private-column {
  width: min(1280px, calc(100vw - 96px));
  padding-top: 155px;
}

.note-reader-top {
  display: grid;
  grid-template-columns: minmax(0, 720px) 300px;
  gap: 128px;
  align-items: baseline;
  margin-bottom: 88px;
}

.note-reader-top > div {
  display: flex;
  align-items: baseline;
  gap: 22px;
  min-width: 0;
}

.note-reader-top h1 {
  margin: 0;
  color: #404040;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.018em;
  white-space: nowrap;
}

.note-reader-top p {
  margin: 0;
  color: #303840;
  font-size: 17px;
  font-style: italic;
  line-height: 1;
  white-space: nowrap;
}

.note-reader-top nav {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.note-reader-top button {
  border: 0;
  background: transparent;
  color: #303840;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.note-reader-top .reader-nav-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  color: #303840;
  font-size: 0;
  padding: 0;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.note-reader-top .reader-nav-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.note-reader-top .reader-nav-button::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 4;
  padding: 5px 7px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  color: #303840;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -3px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.note-reader-top button:hover,
.note-reader-top button:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.note-reader-top .reader-nav-button:hover,
.note-reader-top .reader-nav-button:focus-visible {
  border-color: #303840;
  color: #000000;
  text-decoration: none;
  transform: translateY(-1px);
  outline: none;
}

.note-reader-top .reader-nav-button:hover::after,
.note-reader-top .reader-nav-button:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.note-month {
  margin-bottom: 80px;
  color: #303840;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.note-article {
  display: grid;
  grid-template-columns: 330px minmax(0, 760px);
  gap: 92px;
  align-items: start;
}

.note-article-meta h2 {
  margin: 0 0 22px;
  color: #303840;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.note-article-meta time {
  display: block;
  color: #303840;
  font-size: 18px;
  font-style: italic;
  line-height: 1;
}

.note-article-meta span {
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 28px;
  background: #303840;
}

.note-article-body {
  color: #303840;
  font-size: 22px;
  line-height: 1.42;
}

.note-article-body p {
  margin: 0 0 34px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.note-article-body blockquote {
  position: relative;
  margin: 42px 0 0;
  padding-left: 80px;
  color: #303840;
  font-size: 32px;
  line-height: 1.35;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.note-article-body blockquote::before {
  content: "''";
  position: absolute;
  top: -20px;
  left: 0;
  color: #303840;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
}

.reader-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 300px;
  gap: 128px;
  align-items: start;
}

.reader-main h1 {
  max-width: 620px;
  margin: 0 0 28px;
  color: #303840;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}

.reader-posted {
  margin: 0;
  color: #303840;
  font-size: 16px;
  font-style: italic;
  line-height: 1;
}

.reader-rule {
  display: block;
  width: 98px;
  height: 1px;
  margin: 22px 0 50px;
  background: #303840;
}

.reader-main .note-article-body {
  max-width: 710px;
  font-size: 21px;
  line-height: 1.48;
}

.reader-main .note-article-body p {
  margin: 0 0 34px;
}

.reader-sidebar.log-archive,
.reader-sidebar {
  width: auto;
  margin: 0;
}

.reader-sidebar h2 {
  margin-bottom: 26px;
  font-size: 20px;
  letter-spacing: 0;
}

.reader-sidebar .log-list {
  gap: 13px;
}

.reader-sidebar .log-index-item {
  grid-template-columns: auto minmax(52px, 1fr) auto;
  gap: 9px;
  font-size: 18px;
}

.reader-sidebar .log-index-item time {
  font-size: 15px;
}

.reader-sidebar .log-empty {
  font-size: 16px;
}

.log-archive {
  width: min(760px, 100%);
  margin: 88px 0 0 auto;
  color: #303840;
  font-family: Georgia, "Times New Roman", serif;
}

.log-archive h2 {
  margin: 0 0 24px;
  color: #303840;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.log-list {
  display: grid;
  gap: 14px;
}

.log-index-item {
  display: grid;
  grid-template-columns: auto minmax(72px, 1fr) auto;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #303840;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.log-index-title {
  white-space: nowrap;
}

.log-index-line {
  height: 1px;
  border-bottom: 1px dotted #303840;
  transform: translateY(-4px);
}

.log-index-item time {
  color: #303840;
  font-size: 18px;
  white-space: nowrap;
}

.log-index-item:hover .log-index-title,
.log-index-item:focus-visible .log-index-title,
.log-index-item.is-open .log-index-title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.log-index-item.is-open .log-index-line {
  border-bottom-color: #8c8f93;
}

.log-index-item:focus-visible {
  outline: none;
}

.log-empty {
  margin: 0;
  color: #8c8f93;
  font-size: 18px;
  font-style: italic;
}

.log-detail {
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid #303840;
}

.log-detail header {
  margin-bottom: 28px;
}

.log-detail header p {
  margin: 0 0 8px;
  color: #8c8f93;
  font-size: 15px;
  font-style: italic;
  line-height: 1;
}

.log-detail h3 {
  margin: 0 0 12px;
  color: #303840;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.log-detail time {
  color: #303840;
  font-size: 17px;
  font-style: italic;
  line-height: 1;
}

.log-detail div {
  color: #303840;
  font-size: 21px;
  line-height: 1.45;
}

.log-detail div p {
  margin: 0 0 28px;
}

.log-detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.log-detail-actions button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  background: transparent;
  color: #303840;
  padding: 0;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.log-detail-actions svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.log-detail-actions button:hover,
.log-detail-actions button:focus-visible {
  color: #000000;
  border-color: #303840;
  transform: translateY(-1px);
  outline: none;
}

body.modal-open {
  overflow: hidden;
}

.writer-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 42px;
}

.writer-modal[hidden] {
  display: none;
}

.writer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
}

.writer-sheet {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto auto minmax(280px, 1fr) auto;
  gap: 14px;
  width: min(820px, calc(100vw - 64px));
  min-height: min(720px, calc(100vh - 84px));
  padding: 28px;
  border: 1px solid #ededed;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.14);
  color: #1f2933;
  transform: scale(0.75);
  transform-origin: center;
}

.writer-sheet-top,
.writer-sheet-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.writer-sheet-top p,
.writer-sheet-bottom span {
  margin: 0;
  color: #9da1a7;
  font-size: 15px;
  line-height: 1;
}

.writer-sheet button {
  border: 0;
  background: #12263a;
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  padding: 13px 18px;
  cursor: pointer;
}

.writer-sheet-top button {
  background: transparent;
  color: #8c8f93;
  padding: 0;
}

.writer-sheet-top button:hover,
.writer-sheet-top button:focus-visible {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.writer-sheet input,
.writer-sheet textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e9e9e9;
  background: #fbfbfb;
  color: #111111;
  font: inherit;
  font-size: 20px;
  line-height: 1.45;
  padding: 14px 16px;
  outline: none;
}

.writer-sheet textarea {
  min-height: 360px;
  resize: vertical;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  white-space: pre-wrap;
  tab-size: 2;
}

.writer-sheet input:focus,
.writer-sheet textarea:focus {
  background: #ffffff;
  border-bottom-color: #303840;
}

.back-link {
  display: inline-block;
  margin-top: 30px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.goal-page {
  color: #303840;
}

.goal-page section + section {
  margin-top: 58px;
}

.goal-kicker {
  margin: 0 0 12px;
  color: #8c8f93;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
}

.goal-page h1,
.goal-page h2 {
  margin: 0;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.goal-page h1 {
  max-width: 690px;
  font-size: 58px;
  line-height: 0.98;
}

.goal-page h2 {
  margin-bottom: 16px;
  font-size: 32px;
  line-height: 1.1;
}

.goal-page p,
.goal-page li {
  color: #5e5e5e;
  font-size: 16px;
  line-height: 1.6;
}

.goal-page p {
  max-width: 660px;
  margin: 24px 0 0;
}

.goal-page ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
}

.goal-page code {
  color: #111111;
  font-family: "Cascadia Code", "Cascadia Mono", Consolas, monospace;
  font-size: 0.9em;
}

@media (max-width: 760px) {
  :root {
    --site-scale: 1;
    --top-rail-height: 76px;
    --bottom-rail-height: 78px;
  }

  .topbar {
    top: 20px;
    left: 18px;
    right: 18px;
    gap: 28px;
  }

  .private-section-tabs {
    max-width: calc(100vw - 36px);
    overflow-x: auto;
    font-size: 18px;
  }

  .private-section-tabs button {
    min-height: 40px;
    padding: 0 13px;
  }

  .name {
    font-size: 19px;
  }

  .social-links {
    gap: 18px;
    font-size: 19px;
  }

  .page-column {
    width: auto;
    margin: 0 18px;
    padding-top: 128px;
    padding-bottom: 154px;
    zoom: 1;
  }

  .hero-title {
    gap: 16px;
  }

  .hero-logo {
    width: 36px;
    height: 36px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .day-tracker {
    grid-template-columns: repeat(18, 1fr);
  }

  .timeline-list {
    gap: 30px;
  }

  .timeline-copy p {
    font-size: 14px;
    line-height: 1.5;
  }

  .statusbar {
    left: 18px;
    right: 18px;
    bottom: 22px;
    font-size: 13px;
  }

  .private-column {
    width: auto;
    margin: 0 18px;
    padding-top: 158px;
    padding-bottom: 154px;
    zoom: 1;
  }

  .reader-open .private-column {
    width: auto;
    padding-top: 128px;
  }

  .writing-title-button {
    font-size: 66px;
  }

  .writing-grid {
    grid-template-columns: 1fr;
  }

  .writing-card {
    min-height: 280px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-card.is-wide {
    grid-column: span 1;
  }

  .photo-empty-card,
  .photo-card {
    min-height: 320px;
  }

  .photo-card h2 {
    font-size: 30px;
  }

  .note-form-row {
    grid-template-columns: 1fr;
  }

  .note-reader-top,
  .note-reader-top > div,
  .note-article {
    display: block;
  }

  .note-reader-top {
    margin-bottom: 64px;
  }

  .note-reader-top h1 {
    margin-bottom: 14px;
    font-size: 38px;
    white-space: normal;
  }

  .note-reader-top p {
    margin-bottom: 26px;
    font-size: 15px;
    line-height: 1.35;
    white-space: normal;
  }

  .note-reader-top nav {
    display: flex;
    gap: 8px;
  }

  .note-reader-top button {
    font-size: 16px;
  }

  .note-month {
    margin-bottom: 44px;
    font-size: 30px;
  }

  .note-article-meta {
    margin-bottom: 42px;
  }

  .note-article-meta h2 {
    font-size: 32px;
  }

  .note-article-body {
    font-size: 20px;
  }

  .note-article-body blockquote {
    padding-left: 54px;
    font-size: 26px;
  }

  .note-article-body blockquote::before {
    font-size: 72px;
  }

  .reader-layout {
    display: block;
  }

  .reader-main h1 {
    max-width: none;
    font-size: 38px;
  }

  .reader-main .note-article-body {
    font-size: 19px;
  }

  .log-compose {
    margin: 0 0 44px;
  }

  .log-archive {
    margin-top: 56px;
  }

  .reader-sidebar.log-archive,
  .reader-sidebar {
    margin-top: 56px;
  }

  .log-index-item {
    grid-template-columns: auto minmax(34px, 1fr);
    font-size: 20px;
  }

  .log-index-item time {
    grid-column: 1 / -1;
    font-size: 15px;
  }

  .log-detail h3 {
    font-size: 28px;
  }

  .log-detail div {
    font-size: 19px;
  }

  .writer-modal {
    padding: 18px;
  }

  .writer-sheet {
    width: calc(100vw - 36px);
    min-height: calc(100vh - 36px);
    padding: 20px;
  }

  .writer-sheet textarea {
    min-height: 300px;
    font-size: 20px;
  }

  .writer-sheet-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
