@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Alegreya+SC:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&family=Alegreya+Sans+SC:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&family=Alegreya:ital,wght@0,400..900;1,400..900&display=swap');

@media(max-width:680px) {
    .hero-bar {
        flex-wrap: wrap
    }

    .hero-bar>.eyebrow {
        width: 100%
    }

    .hero-bar .controls {
        width: 100%;
        justify-content: space-between
    }

    .hero-bar .dots {
        max-width: 120px;
        overflow: auto;
        padding: 8px 0;
        flex-shrink: 1
    }

    .hero-bar .dots button {
        flex-shrink: 0
    }
}

:root {
    --paper: #f5f3ed;
    --ink: #242722;
    --muted: #676b61;
    --line: #cdd0c4;
    /* --red: #99452f; */
    /* --green: #e3e6dc; */
    --green: #697767;
    --red: #a85f39;
    --serif: 'Alegreya', Georgia, 'Times New Roman', serif;
    --sans: 'Alegreya Sans', Verdana, sans-serif;
    --display: 'Alegreya SC', Arial, sans-serif;
}

* {
    box-sizing: border-box
}

html, body {
  font-size: 18px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.6
}

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

button,
input,
select,
textarea {
    font: inherit
}

button,
a,
input,
select,
textarea {
    touch-action: manipulation
}

button {
    cursor: pointer
}

button:disabled {
    cursor: default;
    opacity: .5
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 5px
}

img {
    max-width: 100%;
    display: block
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2,
h3 {
    font-weight: 400
}

h1,
h2 {
    font-family: var(--serif)
}

.wrap {
    max-width: 1440px;
    margin: auto;
    padding: 0 5%
}

.skip {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 10;
    background: var(--ink);
    color: white;
    padding: 12px
}

.skip:focus {
    top: 10px
}

.header {
    border-bottom: 1px solid var(--line)
}

.nav {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand img {
    /* width: 53px; */
    /* height: 48px; */
    object-fit: contain;
}

.brand strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: .01em
}

.brand small {
    font-size: 0.8rem;
    letter-spacing: .1em;
    text-transform: uppercase
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.nav-links a {
    padding: 10px 0
}

.nav-links a[aria-current=page] {
    border-bottom: 2px solid var(--red)
}

.external {
    color: var(--red)
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted)
}

.intro {
    padding: 48px 0 32px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px
}

.intro h1 {
    font-size: clamp(3rem, 5.6vw, 5rem);
    line-height: 1.0;
    letter-spacing: -.01em;
    margin-top: 16px
}

.intro p {
    font-size: 1rem;
    color: var(--muted);
    max-width: 260px;
    padding-bottom: 5px
}

.hero {
    background: var(--green);
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: 30% 70%;
    min-height: 430px;
    position: relative
}

.hero-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px
}

.hero-info .eyebrow {
    color: var(--paper);
}
.hero-info h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.2;
    letter-spacing: -.01em;
    margin: 22px 0 15px
}

.hero-info p {
    /* color: var(--muted); */
    color: var(--paper);
    font-size: 1rem;
    max-width: 240px
}

.text-link {
    font-size: 0.8rem;
    font-weight: 700;
    border-bottom: 1px solid;
    padding: 8px 0;
    display: inline-block
}

.hero-art {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.hero-art img {
    width: 100%;
    height: 430px;
    object-fit: contain;
    transition: opacity .2s
}

.hero-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    gap: 18px
}

.controls {
    display: flex;
    align-items: center;
    gap: 12px
}

.controls button,
.round {
    background: none;
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 2.2rem;
    height: 2.2rem;
    display: inline-grid;
    place-items: center
}

.controls button:hover,
.round:hover {
    background: var(--green);
    color: var(--paper);
}

.dots {
    display: flex;
    gap: 8px
}

.dots button {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    background: #b6bbae;
    padding: 0
}

.dots button[aria-current=true] {
    background: var(--ink)
}

.count {
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    color: var(--muted)
}

.section {
    padding: 65px 0
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 24px
}

.section-head h2 {
    font-size: 2rem;
    letter-spacing: -.01em
}

.font-grid {
    display: grid;
    /* grid-template-columns: repeat(2, minmax(0, 1fr)); */
    grid-template-columns: auto;
    gap: 24px
}

.font-grid-small {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px
}

.font-card figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff
}

.font-card img {
    width: 100%;
    /* aspect-ratio: 1.6; */
    aspect-ratio: 10;
    object-fit: contain;
    transition: transform .3s;
    fill: currentColor;
}

.font-card:hover figure {
    background: var(--red);
}

.font-card:hover img {
    transform: scale(1.025);
}

.card-caption {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    /* padding: 0.5rem 0; */
    border-bottom: 1px solid var(--line)
}

.card-caption div {
    width: 100%;
}

.card-caption h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.0;
    /* display: inline-block; */
    float: inline-start;
}

.card-caption p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    margin-top: 6px;
    /* display: inline-block; */
    float: inline-end;
}

.card-arrow {
    font-size: 1.25rem;
}

.studio-note {
    background: var(--green);
    padding: 54px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 70px
}

.studio-note h2 {
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -.035em
}

.studio-note p {
    margin: 20px 0;
    font-size: 1rem;
    max-width: 630px;
    /* color: var(--muted); */
    color: var(--paper)
}

.studio-note .eyebrow {
    color: var(--paper)
}

.footer {
    border-top: 1px solid var(--line);
    padding: 24px 0 36px
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--muted)
}

.footer-links {
    display: flex;
    gap: 24px
}

.page-heading {
    padding: 60px 0 40px
}

.page-heading h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1.1;
    letter-spacing: -.01em;
    margin: 24px 0 16px
}

.page-heading p {
    max-width: 580px;
    color: var(--muted);
    font-size: 1rem;
}

.filters {
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 35px
}

.filters input {
    margin-left: auto;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px;
    min-width: 210px
}

.chip {
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 30px;
    padding: 9px 16px;
    font-size: 0.8rem;
}

.chip[aria-pressed=true] {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink)
}

.results-count {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 20px
}

.empty {
    padding: 45px 0
}

.font-heading {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    padding: 48px 0 40px
}

.font-heading h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.05;
    letter-spacing: -.01em;
    margin: 20px 0
}

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.tag {
    font-size: 0.8rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    padding: 5px 10px
}

.font-description {
    padding-top: 30px
}

.font-description p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.6
}

.button {
    display: inline-block;
    background: var(--ink);
    color: var(--paper);
    padding: 13px 22px;
    margin-top: 22px;
    font-size: 0.8rem;
    border: 1px solid var(--ink)
}

.button:hover {
    background: var(--red);
    border-color: var(--red)
}

.availability {
    font-size: 12px !important;
    margin-top: 10px
}

.gallery-main {
    padding: 0;
    border: 1px solid var(--line);
    background: white;
    width: 100%;
    display: block
}

.gallery-main img {
    width: 100%;
    height: min(64vw, 680px);
    object-fit: contain
}

.gallery-caption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 12px 0 22px;
    color: var(--muted);
    font-size: 0.8rem;
}

.thumbs {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px
}

.thumbs button {
    background: #fff;
    border: 1px solid var(--line);
    padding: 3px;
    flex: 0 0 150px
}

.thumbs button[aria-pressed=true] {
    outline: 2px solid var(--red)
}

.thumbs img {
    width: 100%;
    height: 95px;
    object-fit: contain
}

.font-facts {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid var(--line);
    margin-top: 50px;
    padding: 25px 0
}

.font-facts dt {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .1em
}

.font-facts dd {
    margin: 8px 0;
    font-family: var(--serif);
    font-size: 1.2rem;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    padding: 20px 0 80px
}

.about-mark {
    /* background: var(--green); */
    min-height: 480px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.about-mark img {
    width: 60%;
    mix-blend-mode: multiply;
    margin-top: 1rem;
}

.prose h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 20px
}

.prose p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.prose .eyebrow {
    margin-top: 34px
}

.lightbox {
    border: 0;
    padding: 55px 20px 20px;
    max-width: 95vw;
    max-height: 95vh;
    background: var(--paper)
}

.lightbox::backdrop {
    background: #161a16dd
}

.lightbox img {
    max-height: 78vh;
    object-fit: contain;
    margin: auto
}

.lightbox button {
    position: absolute;
    right: 16px;
    top: 10px
}

.error {
    padding: 40px;
    color: var(--red)
}

[hidden] {
    display: none !important
}

@media(min-width:1500px) {
    .hero-art img {
        height: 490px
    }
}

@media(max-width:800px) {
    .nav {
        height: 90px
    }

    .nav-links {
        gap: 20px
    }

    .nav-links .external {
        display: none
    }

    .brand strong {
        font-size: 16px
    }

    .brand small {
        font-size: 8px
    }

    .brand img {
        width: 42px;
        height: 42px
    }

    .intro {
        padding-top: 32px
    }

    .intro p {
        max-width: 210px;
        font-size: 12px
    }

    .hero {
        grid-template-columns: 32% 68%;
        min-height: 330px
    }

    .hero-info {
        padding: 22px
    }

    .hero-art img {
        height: 330px
    }

    .hero-info p {
        font-size: 12px
    }

    .studio-note {
        padding: 32px;
        gap: 25px
    }

    .font-heading {
        gap: 30px
    }

    .about-layout {
        gap: 30px
    }

    .about-mark {
        min-height: 350px
    }
}

@media(max-width:560px) {
    .wrap {
        padding: 0 6%
    }

    .nav {
        gap: 15px
    }

    .nav-links {
        gap: 16px;
        font-size: 12px
    }

    .brand small {
        letter-spacing: .06em
    }

    .brand img {
        width: 32px;
        height: 32px
    }

    .brand {
        gap: 8px
    }

    .brand strong {
        font-size: 14px
    }

    .intro {
        display: block
    }

    .intro p {
        max-width: 300px;
        margin-top: 20px
    }

    .hero {
        display: flex;
        flex-direction: column-reverse
    }

    .hero-art img {
        height: auto;
        aspect-ratio: 1.4
    }

    .hero-info {
        display: block;
        padding: 24px
    }

    .hero-info h2 {
        font-size: 32px;
        margin: 12px 0
    }

    .hero-info p {
        max-width: none;
        font-size: 14px
    }

    .hero-info .text-link {
        margin-top: 15px
    }

    .hero-bar .eyebrow {
        font-size: 8px
    }

    .controls {
        gap: 8px
    }

    .font-grid {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .section {
        padding: 42px 0
    }

    .section-head h2 {
        font-size: 30px
    }

    .studio-note {
        grid-template-columns: 1fr;
        padding: 28px;
        gap: 20px;
        margin-bottom: 40px
    }

    .studio-note h2 {
        font-size: 32px
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column
    }

    .page-heading {
        padding: 40px 0 25px
    }

    .filters {
        gap: 8px
    }

    .filters input {
        margin-left: 0;
        width: 100%;
        margin-top: 8px
    }

    .font-heading,
    .about-layout {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .font-heading {
        padding: 30px 0
    }

    .font-description {
        padding-top: 0
    }

    .font-facts {
        flex-wrap: wrap
    }

    .gallery-main img {
        height: 70vw
    }

    .thumbs button {
        flex-basis: 110px
    }

    .thumbs img {
        height: 70px
    }

    .about-mark {
        min-height: 300px
    }

    .about-layout {
        padding-bottom: 40px
    }

    .prose {
        padding-top: 20px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important
    }
}