/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --spacing: 0.25rem;
    --default-font-family: var(--font-serif);
    --font-serif: "Separator", "EB Garamond", Garamond, "Times New Roman", serif;
    --color-paper: #f5f4ef;
    --color-ink: #1b1b19;
    --color-muted: #6d6c64;
    --color-green: #1f5132;
    --text-body: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
    --text-body--line-height: 1.5;
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .mt-20 {
    margin-top: calc(var(--spacing) * 20);
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .max-w-\[33rem\] {
    max-width: 33rem;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-baseline {
    align-items: baseline;
  }
  .justify-between {
    justify-content: space-between;
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  :where(.space-y-5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
  }
  .gap-x-6 {
    column-gap: calc(var(--spacing) * 6);
  }
  .gap-y-1 {
    row-gap: var(--spacing);
  }
  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }
  .py-10 {
    padding-block: calc(var(--spacing) * 10);
  }
  .text-body {
    font-size: var(--text-body);
    line-height: var(--tw-leading, var(--text-body--line-height));
  }
  @media (width >= 40rem) {
    .sm\:mt-28 {
      margin-top: calc(var(--spacing) * 28);
    }
    .sm\:px-12 {
      padding-inline: calc(var(--spacing) * 12);
    }
    .sm\:py-16 {
      padding-block: calc(var(--spacing) * 16);
    }
  }
  @media (width >= 64rem) {
    .lg\:px-\[14vw\] {
      padding-inline: 14vw;
    }
  }
}
@font-face {
  font-family: "EB Garamond";
  src: url("/assets/fonts/eb-garamond-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/assets/fonts/eb-garamond-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Separator";
  src: url("/assets/fonts/separator.woff2") format("woff2");
  unicode-range: U+2022;
  font-display: swap;
}
@font-face {
  font-family: "Amp";
  src: url("/assets/fonts/eb-garamond-italic.woff2") format("woff2");
  font-style: italic;
  unicode-range: U+0026;
  font-display: block;
}
@layer base {
  :root[data-theme="dark"] {
    --color-paper: #131312;
    --color-ink: #e6e4dc;
    --color-muted: #96948a;
    --color-green: #86b293;
    color-scheme: dark;
  }
  html {
    background-color: var(--color-paper);
    color: var(--color-ink);
    color-scheme: light;
    font-kerning: normal;
    font-variant-numeric: oldstyle-nums proportional-nums;
    text-transform: lowercase;
    hanging-punctuation: first last;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  ::selection {
    background-color: var(--color-green);
    color: var(--color-paper);
  }
  :focus-visible {
    outline: 1px solid var(--color-green);
    outline-offset: 3px;
  }
  a {
    transition: color 150ms;
  }
  a:hover {
    color: var(--color-green);
  }
  p {
    text-wrap: pretty;
  }
  html {
    cursor: url("/assets/cursors/arrow-light.svg") 1 1, auto;
  }
  :is(a[href], button) {
    cursor: url("/assets/cursors/hand-light.svg") 9 1, pointer;
  }
  :root[data-theme="dark"] {
    cursor: url("/assets/cursors/arrow-dark.svg") 1 1, auto;
  }
  :root[data-theme="dark"] :is(a[href], button) {
    cursor: url("/assets/cursors/hand-dark.svg") 9 1, pointer;
  }
}
@layer components {
  .backdrop {
    --w: 56rem;
    --shift: 60%;
    --y: 9vh;
    --alpha: 0.07;
    position: fixed;
    z-index: -1;
    right: 0;
    bottom: var(--y);
    width: var(--w);
    aspect-ratio: 884 / 200;
    translate: var(--shift) 0;
    background-color: var(--color-ink);
    color: var(--color-ink);
    opacity: var(--alpha);
    mask: url("/assets/backdrop.svg") 0 0 / 100% 100% no-repeat;
    pointer-events: none;
  }
  .backdrop.research {
    --shift: 68%;
    --y: 48vh;
    mask-image: url("/assets/backdrop-research.svg");
  }
  .backdrop.cv {
    --shift: 72%;
    --y: 62vh;
    mask-image: url("/assets/backdrop-research.svg");
  }
  @media (width >=40rem) {
    .backdrop {
      --w: clamp(40rem, 80vw, 80rem);
      --shift: 22%;
    }
    .backdrop.research {
      --shift: 36%;
      --y: 44vh;
    }
    .backdrop.art {
      --shift: 14%;
    }
    .backdrop.cv {
      --shift: 50%;
      --y: 64vh;
    }
  }
  [data-theme="dark"] .backdrop {
    opacity: calc(var(--alpha) * 0.8);
  }
  .crush-pending :is(.backdrop, .amp):not(.live, .plain) {
    visibility: hidden;
    animation: crush-failsafe 0s 5s forwards;
  }
  @keyframes crush-failsafe {
    to {
      visibility: visible;
    }
  }
  :is(.backdrop, .amp) canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .backdrop.live {
    mask: none;
    background: none;
  }
  .trace {
    position: fixed;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.75;
    pointer-events: none;
  }
  .nav a {
    color: var(--color-muted);
  }
  .nav a:hover, .nav a.pointed, .nav a[aria-current="page"] {
    color: var(--color-green);
  }
  .nav a[aria-current="page"]:not(.marked) {
    text-decoration-line: underline;
    text-decoration-color: var(--color-green);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
  }
  :is(.site-head, .switch) a {
    position: relative;
  }
  .marker {
    position: absolute;
    pointer-events: none;
  }
  .marker-probe {
    display: inline-block;
    width: 0;
    height: 0;
  }
  .nav .sep {
    color: var(--color-muted);
  }
  .copy a {
    text-decoration-line: underline;
    text-decoration-color: var(--color-green);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
  }
  .entries>li+li {
    margin-top: 1.25em;
  }
  .entries .meta {
    color: var(--color-muted);
  }
  .entries .meta a {
    text-decoration-line: underline;
    text-decoration-color: color-mix(in srgb, #6d6c64 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      text-decoration-color: color-mix(in oklab, var(--color-muted) 40%, transparent);
    }
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
  }
  .works .title {
    font-style: italic;
  }
  .works > li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    column-gap: 1em;
  }
  .works > li > .meta {
    flex-basis: 100%;
  }
  .works .when {
    margin-left: auto;
    color: var(--color-muted);
    white-space: nowrap;
  }
  .amp {
    --alpha: 0.06;
    margin-top: 0.15em;
    margin-left: -0.06em;
    font-family: "Amp", var(--font-serif);
    font-size: clamp(10rem, 6rem + 18vw, 20rem);
    font-style: italic;
    line-height: 1;
    user-select: none;
    color: var(--color-ink);
    opacity: var(--alpha);
  }
  [data-theme="dark"] .amp {
    opacity: calc(var(--alpha) * 0.8);
  }
  .amp {
    position: relative;
  }
  .amp.live {
    -webkit-text-fill-color: transparent;
  }
  .amp-probe {
    display: inline-block;
    width: 0;
    height: 0;
  }
  .anchor {
    position: fixed;
    top: 0;
  }
  .switch {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 3.5em;
  }
  .switch a, .cv-links a {
    color: var(--color-muted);
    text-decoration: none;
  }
  .switch a:hover, .cv-links a:hover {
    color: var(--color-green);
  }
  :is(a[href$=".pdf"], a[href^="http"]:not([href^="https://hengrv.com"]))::after {
    content: "";
    display: inline-block;
    margin-left: 0.25em;
    background-color: currentColor;
    mask: var(--icon) 0 0 / 100% 100% no-repeat;
  }
  a[href$=".pdf"]::after {
    --icon: url("/assets/download.svg");
    width: 10.5px;
    height: 13.5px;
  }
  a[href^="http"]:not([href^="https://hengrv.com"])::after {
    --icon: url("/assets/external.svg");
    width: 10.5px;
    height: 10.5px;
  }
  :is(.switch, .cv-links) .sep {
    margin-inline: 0.25em;
    color: var(--color-muted);
  }
  .cv:not(:has(#data-science:target)) [data-version="data-science"], .cv:has(#data-science:target) [data-version="academic"] {
    display: none;
  }
  .cv:not(:has(#data-science:target)) .switch a[href="#academic"], .cv:has(#data-science:target) .switch a[href="#data-science"] {
    color: var(--color-green);
  }
  .cv:not(:has(#data-science:target)) .switch a[href="#academic"]:not(.marked), .cv:has(#data-science:target) .switch a[href="#data-science"]:not(.marked) {
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
  }
  .cv-links {
    margin-top: 3.5em;
  }
  .research .switch>span {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1em;
  }
  .research:has(#preprints:target) .entries>li:not([data-type="preprint"]), .research:has(#conference:target) .entries>li:not([data-type="conference"]) {
    display: none;
  }
  .research:not(:has(#preprints:target, #conference:target)) .switch a[href="#all"], .research:has(#preprints:target) .switch a[href="#preprints"], .research:has(#conference:target) .switch a[href="#conference"] {
    color: var(--color-green);
  }
  .research:not(:has(#preprints:target, #conference:target)) .switch a[href="#all"]:not(.marked), .research:has(#preprints:target) .switch a[href="#preprints"]:not(.marked), .research:has(#conference:target) .switch a[href="#conference"]:not(.marked) {
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
  }
  .cv-version section+section {
    margin-top: 2.75em;
  }
  .cv-version h2 {
    margin-bottom: 0.6em;
    color: var(--color-muted);
  }
  .cv-version :is(h3, h4) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    column-gap: 1em;
  }
  .cv-version h3 {
    margin-top: 1.1em;
  }
  .cv-version h4 {
    margin-top: 0.8em;
  }
  .cv-version :is(h2 + h3, h3 + h4) {
    margin-top: 0;
  }
  .cv-version .when {
    margin-left: auto;
    color: var(--color-muted);
    white-space: nowrap;
  }
  .cv-version strong {
    font-weight: inherit;
  }
  .cv-version :is(ul, p) {
    margin-top: 0.3em;
  }
  .cv-version li {
    position: relative;
    padding-left: 1.1em;
  }
  .cv-version li+li {
    margin-top: 0.3em;
  }
  .cv-version li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--color-muted);
  }
  .cv-version ul.cv-flow {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.3em;
  }
  .cv-version ul.cv-flow li {
    margin-top: 0;
    padding: 0;
  }
  .cv-version ul.cv-flow li::before {
    content: none;
  }
  .cv-version ul.cv-flow li:not(:last-child)::after {
    content: ",";
  }
  .theme-toggle {
    position: absolute;
    top: calc(var(--spacing) * 10);
    right: calc(var(--spacing) * 5);
    display: flex;
    width: 1lh;
    height: 1lh;
    align-items: center;
    justify-content: center;
    @media (width >= 40rem) {
      top: calc(var(--spacing) * 16);
    }
    @media (width >= 40rem) {
      right: calc(var(--spacing) * 11);
    }
    color: var(--color-muted);
    transition: color 150ms;
    view-transition-name: theme-toggle;
  }
  .theme-toggle:hover {
    color: var(--color-green);
  }
  .theme-icon {
    display: block;
    width: 19.5px;
    height: 19.5px;
    background-color: currentColor;
    mask: url("/assets/theme-icon.svg") 0 0 / 1600% 100% no-repeat;
    transition: mask-position 650ms steps(15, jump-end);
  }
  [data-theme="dark"] .theme-icon {
    mask-position: 100% 0;
  }
  @media (prefers-reduced-motion: reduce) {
    .theme-icon {
      transition: none;
    }
  }
  .theme-toggle .when-dark, [data-theme="dark"] .theme-toggle .when-light {
    display: none;
  }
  [data-theme="dark"] .theme-toggle .when-dark {
    display: inline;
  }
  .site-head {
    view-transition-name: site-head;
  }
  @media (width < 42rem) {
    .site-head {
      padding-right: 3rem;
    }
  }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}
::view-transition-group(*) {
  animation-duration: 200ms;
}
:root.theme-switching::view-transition-group(*) {
  animation-duration: 700ms;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
:root.theme-switching::view-transition-old(theme-toggle) {
  animation: none;
  opacity: 0;
}
:root.theme-switching::view-transition-new(theme-toggle) {
  animation: none;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-space-y-reverse: 0;
    }
  }
}
