@font-face {
  font-family: 'Helvetica Bold Custom';
  src: url('Helvetica-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Swell Braille';
  src: url('fonts/swell-braille.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body[data-shell-root] {
  --shell-page-top: clamp(36px, 6vw, 64px);
  --shell-page-side: clamp(54px, 9vw, 96px);
  --shell-masthead-gap: clamp(30px, 5vw, 44px);
  --shell-divider-gap: clamp(20px, 3vw, 28px);
  --shell-post-divider-gap: clamp(18px, 3vw, 28px);
  --shell-page-content-top-margin: clamp(30px, 4vw, 48px);
  --shell-title-size: clamp(34px, 8vw, 68px);
  --shell-icon-size: clamp(22px, 3vw, 30px);
  --shell-ceremony-width: clamp(240px, 30vw, 340px);
  --shell-ceremony-right-gap: clamp(12px, 2vw, 24px);
  --shell-ceremony-column-offset: clamp(48px, 6vw, 84px);
  --shell-ceremony-right-shift: 14px;
  --shell-title-font: 'Helvetica Bold Custom', Helvetica, Arial, sans-serif;
  --shell-alt-font: 'Swell Braille', Helvetica, Arial, sans-serif;
  --shell-mask-height: 0px;
  --shell-content-offset: 0px;
  --shell-right-reserve: calc(var(--shell-ceremony-width) + var(--shell-ceremony-right-gap) + var(--shell-ceremony-column-offset));
  background: #fff;
  color: #000;
  min-height: 100%;
}

body[data-shell-root] .global-shell {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  pointer-events: none;
}

body[data-shell-root] .global-shell::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--shell-mask-height);
  background: #fff;
  z-index: 0;
}

body[data-shell-root] .global-shell__frame {
  position: relative;
  padding: var(--shell-page-top) var(--shell-page-side) 0;
  z-index: 1;
}

body[data-shell-root] .global-shell__title-row {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 24px;
}

body[data-shell-root] .global-shell__title,
body[data-shell-root] .global-shell__mirror {
  margin: 0;
  color: #111;
  font-size: var(--shell-title-size);
  line-height: 0.92;
  text-transform: lowercase;
  white-space: nowrap;
}

body[data-shell-root] .global-shell__title {
  font-family: var(--shell-title-font);
  font-weight: 700;
  letter-spacing: -0.04em;
}

body[data-shell-root] .global-shell__mirror {
  font-family: var(--shell-alt-font);
  font-weight: 400;
  letter-spacing: 0;
}

body[data-shell-root] .global-shell__title-row.is-swapped .global-shell__title {
  font-family: var(--shell-alt-font);
  font-weight: 400;
  letter-spacing: 0;
}

body[data-shell-root] .global-shell__title-row.is-swapped .global-shell__mirror {
  font-family: var(--shell-title-font);
  font-weight: 700;
  letter-spacing: -0.04em;
}

body[data-shell-root] .global-shell__controls {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  align-items: start;
  column-gap: clamp(18px, 4vw, 32px);
  margin-top: var(--shell-masthead-gap);
  font-size: 14px;
  color: #333;
}

body[data-shell-root] .global-shell__nav {
  display: grid;
  grid-template-rows: var(--shell-icon-size) var(--shell-icon-size);
  align-content: start;
}

body[data-shell-root] .global-shell__nav-link,
body[data-shell-root] .global-shell__nav-current {
  display: block;
  line-height: 1;
}

body[data-shell-root] .global-shell__nav-link {
  color: inherit;
  text-decoration: none;
}

body[data-shell-root] .global-shell__nav-link:hover {
  text-decoration: underline;
}

body[data-shell-root] .global-shell__nav-link--inactive {
  color: #999;
}

body[data-shell-root] .global-shell__icon-group {
  display: grid;
  grid-template-columns: repeat(2, var(--shell-icon-size));
  grid-template-areas:
    "resume linkedin"
    ". substack";
  justify-content: end;
  justify-items: end;
  align-items: start;
  column-gap: 10px;
  row-gap: 10px;
}

body[data-shell-root] .global-shell__icon {
  display: block;
  width: var(--shell-icon-size);
  height: var(--shell-icon-size);
  color: #111;
  text-decoration: none;
}

body[data-shell-root] .global-shell__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

body[data-shell-root] .global-shell__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

body[data-shell-root] .global-shell__icon--resume {
  grid-area: resume;
}

body[data-shell-root] .global-shell__icon--linkedin {
  grid-area: linkedin;
}

body[data-shell-root] .global-shell__icon--substack {
  grid-area: substack;
}

body[data-shell-root] .global-shell__icon--substack img {
  width: 86%;
  height: 86%;
  margin: 7% auto;
}

body[data-shell-root] .global-shell__divider-block {
  position: relative;
  width: 100%;
  margin-top: var(--shell-divider-gap);
}

body[data-shell-root] .global-shell__divider-left {
  width: var(--shell-left-divider-width, 0px);
  border-top: 1px solid #000;
}

body[data-shell-root] .global-shell__divider-right {
  position: absolute;
  top: 0;
  right: 0;
  height: var(--shell-right-divider-height, 0px);
  border-left: 1px solid #000;
}

body[data-shell-root] .global-shell__ceremony {
  position: absolute;
  top: 0;
  right: calc(var(--shell-ceremony-right-gap) + var(--shell-ceremony-column-offset) - var(--shell-ceremony-right-shift));
  width: var(--shell-ceremony-width);
  margin: 0;
  overflow: hidden;
  pointer-events: auto;
}

body[data-shell-root] .global-shell__ceremony img {
  display: block;
  width: 100%;
}

body[data-shell-root] .page-mobile-ceremony {
  display: none;
}

body[data-shell-root] .page-mobile-ceremony img {
  display: block;
  width: 100%;
}

body[data-shell-root] .global-shell__tooltip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 220;
  padding: 4px 7px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  white-space: pre-line;
  opacity: 0;
  pointer-events: none;
  transform: translate(14px, 14px);
}

body[data-shell-root] .global-shell__tooltip.is-interactive {
  pointer-events: auto;
}

body[data-shell-root] .global-shell__tooltip a {
  color: inherit;
  text-decoration: underline;
}

body[data-shell-root] .global-shell a,
body[data-shell-root] .global-shell [data-shell-title-trigger],
body[data-shell-root] .global-shell [data-tooltip] {
  pointer-events: auto;
}

body[data-shell-root] [data-shell-content] {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100vw - (2 * var(--shell-page-side)) - var(--shell-right-reserve)));
  max-width: none !important;
  margin: 0 auto 0 var(--shell-page-side) !important;
  padding: var(--shell-content-offset) 0 48px !important;
}

body[data-shell-root] [data-shell-content] > *:first-child {
  margin-top: var(--shell-page-content-top-margin) !important;
}

body[data-shell-root] [data-shell-content] .back-link,
body[data-shell-root] [data-shell-content] .bottom-back-row,
body[data-shell-root] [data-shell-content] .back-row,
body[data-shell-root] [data-shell-content] .back-button {
  display: none !important;
}

body[data-shell-root] [data-shell-content] .project-header {
  justify-content: flex-start !important;
}

body[data-shell-root] [data-shell-content] .image-stack,
body[data-shell-root] [data-shell-content] .wide-image {
  width: 100% !important;
  max-width: none !important;
  left: auto !important;
  transform: none !important;
}

body[data-shell-root] [data-shell-content] .image-caption,
body[data-shell-root] [data-shell-content] .wide-image-caption {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 768px) {
  body[data-shell-root] {
    --shell-page-side: 16px;
    --shell-right-reserve: 0px;
    --shell-ceremony-width: min(72vw, 280px);
    --shell-ceremony-column-offset: 0px;
    --shell-ceremony-right-shift: 0px;
  }

  body[data-shell-root] .global-shell {
    position: relative;
    inset: auto;
  }

  body[data-shell-root] .global-shell::before {
    display: none;
  }

  body[data-shell-root] .global-shell__title-row {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
  }

  body[data-shell-root] .global-shell__mirror {
    order: -1;
    align-self: flex-end;
    text-align: right;
  }

  body[data-shell-root] .global-shell__title {
    align-self: flex-start;
  }

  body[data-shell-root] .global-shell__controls {
    grid-template-columns: 1fr auto;
    align-items: start;
    margin-top: calc(var(--shell-masthead-gap) * 2);
  }

  body[data-shell-root] .global-shell__icon-group {
    justify-content: flex-end;
  }

  body[data-shell-root] .global-shell__divider-right {
    display: none;
  }

  body[data-shell-root] .global-shell__ceremony {
    display: none;
  }

  body[data-shell-root] .page-mobile-ceremony {
    display: block;
    width: var(--shell-ceremony-width);
    margin: 32px 0 0 auto;
  }

  body[data-shell-root] [data-shell-content] {
    width: auto;
    margin: 0 !important;
    padding: 24px var(--shell-page-side) 40px !important;
  }
}
