#let name = [Dr. <NAME>, PhD]

#show link: set text(blue)

#set text(13pt)

#grid(
    columns: (20%, 80%),
    rows: (14%),
    gutter: 3.5%,
    [#image("logo.jpg",width: 100%)],
    [
        #align(bottom)[
            #grid(
                columns: (50%,50%),
                rows: (80%),
                [#text(size: 18pt)[UNIVERSITY\ OF CALIFORNIA]],
                [#align(right)[#text(weight: "bold")[#name]]],
            )
        ]
        #v(-8%)
        #line(length: 100%, stroke: 1.5pt)
        #v(22.5%)
    ]
)

#text()[
    #grid(
        columns: (50%,50%),
        rows: (17.5%),
        [
            #align(bottom)[
            Prof. Jones\
            Mathematics Search Committee\
            Department of Mathematics\
            University of California\
            Berkeley, California 12345\
            ]
        ],
        [
            #align(right)[
                #v(-20%)
                #box(width: auto)[
                    #align(left)[
                    Dr. <NAME>\
                    Department of Mathematics\
                    123 Broadway\
                    Berkeley CA 12345\
                    Email: #link("mailto:<EMAIL>")[<EMAIL>]\
                    Phone: #link("tel:000-111-1111")[(000) 111-1111]\
                    URL: #link("https://typst.app/")[typst.app]
                    ]
                ]
            ]
        ]
    )
]

#v(5%)

Dear Sir or Madam\

#set par(first-line-indent: 30pt)

#lorem(60)\

#lorem(75)\

#lorem(55)\

#align(center)[Sincerely,]

#v(2%)

#align(center)[#name]
