/* G.BOX - 2026 */

@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand: #f3b927;
    --brand-deep: #c98f00;
    --ink: #1d1d1b;
    --ink-2: #3a3833;
    --muted: #6b665c;
    --paper: #f6f2ea;
    --paper-2: #ece6da;
    --card: #fffdf9;
    --line: #ddd5c6;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius: 14px;
    --shadow: 0 1px 2px rgb(29 29 27 / 6%), 0 8px 24px -12px rgb(29 29 27 / 18%);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 17px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
    border-radius: 4px;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.01em;
    font-variation-settings: "SOFT" 50, "WONK" 0;
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

figure {
    margin: 0;
}

address {
    font-style: normal;
}

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 8px;
}

.skip:focus {
    top: 12px;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 2px;
    margin-right: 10px;
    vertical-align: middle;
    background: var(--brand);
}

/* Buttons & links */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.btn:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--ink);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
}

.btn--ghost:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

.btn--dark:hover {
    background: var(--paper);
    border-color: var(--paper);
}

.link-arrow {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 1.5px solid var(--brand);
    padding-bottom: 2px;
}

.link-arrow span {
    transition: transform .2s var(--ease);
}

.link-arrow:hover span {
    transform: translateX(3px);
}

.link-arrow--back:hover span {
    transform: translateX(-3px);
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(246 242 234 / 88%);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

.brand {
    display: block;
    color: var(--ink);
}

.logo {
    display: block;
    width: 96px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav__list {
    display: flex;
    gap: 28px;
}

.site-nav__list a {
    position: relative;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    padding: 6px 0;
}

.site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}

.site-nav__list a:hover::after,
.site-nav__list a[aria-current]::after {
    transform: scaleX(1);
}

.lang-switch {
    display: flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.lang-switch a {
    display: block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    color: var(--muted);
}

.lang-switch a[aria-current] {
    background: var(--ink);
    color: var(--paper);
}

.nav-toggle {
    display: none;
}

@media (max-width: 760px) {
    .nav-toggle {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin-right: -8px;
        padding: 0;
        border: 0;
        background: none;
        cursor: pointer;
    }

    .nav-toggle__bars,
    .nav-toggle__bars::before,
    .nav-toggle__bars::after {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--ink);
        transition: transform .25s var(--ease), opacity .2s;
    }

    .nav-toggle__bars {
        position: relative;
    }

    .nav-toggle__bars::before,
    .nav-toggle__bars::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .nav-toggle__bars::before {
        top: -7px;
    }

    .nav-toggle__bars::after {
        top: 7px;
    }

    [aria-expanded="true"] .nav-toggle__bars {
        background: transparent;
    }

    [aria-expanded="true"] .nav-toggle__bars::before {
        transform: translateY(7px) rotate(45deg);
    }

    [aria-expanded="true"] .nav-toggle__bars::after {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Without JS the nav simply stays visible under the logo. */
    .js .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px var(--gutter) 28px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 30px -20px rgb(29 29 27 / 25%);
    }

    .js .site-nav.is-open {
        display: flex;
    }

    .site-nav__list {
        flex-direction: column;
        gap: 6px;
    }

    .site-nav__list a {
        font-family: var(--serif);
        font-weight: 400;
        font-size: 26px;
    }

    html:not(.js) .site-header__inner {
        flex-wrap: wrap;
        padding-block: 12px;
    }

    html:not(.js) .site-nav__list {
        flex-direction: row;
    }

    html:not(.js) .site-nav__list a {
        font-size: 18px;
    }
}

/* Sections */

.section {
    padding-block: clamp(56px, 8vw, 104px);
}

.section--tight {
    padding-block: clamp(24px, 4vw, 48px) clamp(56px, 8vw, 96px);
}

.section--alt {
    background: var(--paper-2);
}

.section__head {
    max-width: 640px;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.section__head--row {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    max-width: none;
}

.section__title {
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 12px;
}

.section__head--row .section__title {
    margin-bottom: 0;
}

.section__lead {
    color: var(--muted);
    font-size: 18px;
}

/* Hero */

.hero {
    padding-block: clamp(32px, 6vw, 80px) clamp(48px, 7vw, 96px);
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.hero__title {
    font-size: clamp(44px, 6.6vw, 84px);
    font-weight: 350;
    line-height: 1.02;
    letter-spacing: -.025em;
    font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

.hero__lead {
    max-width: 30em;
    margin-top: 24px;
    color: var(--ink-2);
    font-size: clamp(17px, 1.6vw, 19px);
}

.hero__media {
    position: relative;
}

.hero__media::before {
    content: "";
    position: absolute;
    inset: 12% -40% -10% 18%;
    z-index: -1;
    background: var(--brand);
    border-radius: 48% 52% 40% 60% / 55% 45% 55% 45%;
    opacity: .9;
}

.hero__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 30% 50%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@media (max-width: 860px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__media::before {
        inset: 20% -30% -12% 30%;
    }
}

/* Lines */

.lines__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 28px);
}

.line__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 14px 14px 24px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.line__link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.line__media {
    display: block;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: calc(var(--radius) - 6px);
}

.line__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.line__link:hover .line__media img {
    transform: scale(1.04);
}

.line__tag,
.line__name,
.line__lead,
.line__count {
    padding-inline: 8px;
}

.line__tag {
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.line__name {
    margin-top: 6px;
    font-family: var(--serif);
    font-size: 26px;
    line-height: 1.15;
}

.line__lead {
    margin-top: 8px;
    color: var(--muted);
    font-size: 15px;
    flex: 1;
}

.line__count {
    margin-top: 18px;
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 860px) {
    .lines__grid {
        grid-template-columns: 1fr;
    }

    .line__link {
        display: grid;
        grid-template-columns: 42% 1fr;
        grid-template-rows: auto auto 1fr auto;
        column-gap: 12px;
        padding: 12px;
    }

    .line__media {
        grid-row: 1 / -1;
        margin: 0;
    }

    .line__media img {
        height: 100%;
        aspect-ratio: auto;
    }

    .line__name {
        font-size: 21px;
    }

    .line__lead {
        font-size: 14px;
    }

    .line__count {
        margin-top: 8px;
    }
}

@media (max-width: 420px) {
    .line__lead {
        display: none;
    }
}

/* Cards */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: clamp(20px, 2.6vw, 32px) clamp(16px, 2.4vw, 28px);
}

.card__link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.card__media {
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: 0 1px 2px rgb(29 29 27 / 6%);
}

.card__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.card__link:hover .card__media img {
    transform: scale(1.045);
}

.card__body {
    display: block;
    padding: 16px 4px 0;
}

.card__meta {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.card__title {
    display: block;
    margin-top: 4px;
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1.2;
}

.card__link:hover .card__title {
    text-decoration: underline;
    text-decoration-color: var(--brand);
    text-decoration-thickness: 2px;
    text-underline-offset: .18em;
}

.card__text {
    display: block;
    margin-top: 6px;
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.55;
}

/* About + facts */

.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.about__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

.about__media--square img {
    aspect-ratio: 1;
}

.about__title {
    margin-bottom: 20px;
    font-size: clamp(28px, 3.4vw, 40px);
    font-style: italic;
    font-weight: 350;
}

.about__copy p {
    color: var(--ink-2);
}

@media (max-width: 860px) {
    .about__grid {
        grid-template-columns: 1fr;
    }
}

.facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: clamp(48px, 7vw, 88px) 0 0;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.fact__value {
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
}

.fact__label {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 15px;
}

@media (max-width: 640px) {
    .facts {
        grid-template-columns: 1fr;
    }
}

.tags-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.tags-grid__title {
    margin-bottom: 14px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

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

.tag {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    text-decoration: none;
    background: var(--card);
}

a.tag:hover {
    border-color: var(--ink);
}

.tag--static {
    background: transparent;
}

@media (max-width: 640px) {
    .tags-grid {
        grid-template-columns: 1fr;
    }
}

/* Page head */

.page-head {
    padding-block: clamp(40px, 7vw, 96px) clamp(24px, 4vw, 48px);
}

.page-head__title {
    max-width: 18ch;
    font-size: clamp(40px, 5.6vw, 68px);
    font-weight: 350;
    line-height: 1.04;
    letter-spacing: -.02em;
    font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}

.page-head__lead {
    max-width: 38em;
    margin-top: 20px;
    color: var(--ink-2);
    font-size: clamp(17px, 1.6vw, 19px);
}

.page-head__split {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.page-head__media img {
    width: 100%;
    border-radius: var(--radius);
}

.page-head--center {
    text-align: center;
    padding-block: clamp(80px, 14vw, 160px);
}

.page-head--center .page-head__title,
.page-head--center .page-head__lead {
    margin-inline: auto;
}

.page-head--center .actions {
    justify-content: center;
}

@media (max-width: 860px) {
    .page-head__split {
        grid-template-columns: 1fr;
    }
}

/* Catalogue filters */

.filters {
    display: grid;
    gap: 14px;
    margin-bottom: clamp(28px, 4vw, 44px);
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.filters__group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.filters__label {
    flex: 0 0 72px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

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

.chip {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}

.chip:hover {
    border-color: var(--ink);
}

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

.filters__count {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 640px) {
    .filters__group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .filters__label {
        flex-basis: auto;
    }

    /* Single scrolling row on phones instead of a tall wall of chips. */
    .chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 100%;
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        scrollbar-width: none;
    }

    .chips::-webkit-scrollbar {
        display: none;
    }

    .chip {
        white-space: nowrap;
    }
}

.line-intro {
    margin: -12px 0 32px;
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
}

.empty {
    padding: 48px 0;
    text-align: center;
    color: var(--muted);
}

/* Work detail */

.work {
    padding-block: 24px clamp(56px, 8vw, 96px);
}

.crumbs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
}

.crumbs a {
    text-decoration: none;
}

.crumbs a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.work__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

.gallery__stage img {
    width: 100%;
    aspect-ratio: 940 / 465;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--card);
}

.gallery__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.gallery__thumb {
    display: block;
    width: 110px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid transparent;
    opacity: .7;
    transition: opacity .2s, border-color .2s;
}

.gallery__thumb:hover,
.gallery__thumb[aria-current] {
    opacity: 1;
}

.gallery__thumb[aria-current] {
    border-color: var(--brand);
}

.gallery__thumb img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.work__info {
    position: sticky;
    top: 100px;
}

.work__title {
    font-size: clamp(36px, 4.6vw, 56px);
    font-weight: 350;
    letter-spacing: -.02em;
}

.work__text {
    margin: 16px 0 28px;
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    line-height: 1.4;
    color: var(--ink-2);
}

.work__info .btn {
    width: 100%;
}

.work__info .link-arrow {
    margin-top: 20px;
}

.specs {
    margin: 0 0 28px;
    border-top: 1px solid var(--line);
}

.specs > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.specs dt {
    color: var(--muted);
}

.specs dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

@media (max-width: 900px) {
    .work__grid {
        grid-template-columns: 1fr;
    }

    .work__info {
        position: static;
    }
}

/* Company */

.timeline {
    display: grid;
    gap: 0;
    margin-top: 32px;
    counter-reset: step;
}

.timeline__step {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    padding: 32px 0;
    border-top: 1px solid var(--line);
}

.timeline__step p {
    max-width: 44em;
    color: var(--ink-2);
}

.timeline__year {
    font-family: var(--serif);
    font-size: 44px;
    line-height: 1;
    color: var(--ink) !important;
}

.timeline__title {
    margin-bottom: 10px;
    font-size: 26px;
}

.timeline__place {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--brand);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    vertical-align: middle;
}

@media (max-width: 640px) {
    .timeline__step {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .timeline__year {
        font-size: 34px;
    }
}

.quote-section {
    background: var(--ink);
    color: var(--paper);
}

.quote {
    max-width: 880px;
    margin-inline: auto;
    text-align: center;
}

.quote blockquote {
    margin: 0;
}

.quote p {
    font-family: var(--serif);
    font-size: clamp(24px, 3.2vw, 36px);
    font-style: italic;
    font-weight: 300;
    line-height: 1.35;
}

.quote p::before {
    content: "“";
    display: block;
    margin-bottom: 8px;
    color: var(--brand);
    font-size: 1.8em;
    line-height: .6;
}

.quote figcaption {
    margin-top: 16px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 28px);
}

.contact-card {
    padding: clamp(24px, 3vw, 36px);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact-card--wide {
    grid-column: 1 / -1;
}

.contact-card__title {
    margin-bottom: 16px;
    font-size: 24px;
}

.contact-card address {
    font-size: 18px;
    line-height: 1.6;
}

.contact-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 24px 0 0;
}

.specs--contact {
    margin: 0;
    border-top: 0;
}

.specs--contact > div:last-child {
    border-bottom: 0;
}

.directions {
    display: grid;
    gap: 12px;
    counter-reset: dir;
}

.directions li {
    position: relative;
    padding-left: 40px;
    color: var(--ink-2);
}

.directions li::before {
    counter-increment: dir;
    content: counter(dir);
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

@media (max-width: 760px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .specs > div {
        flex-direction: column;
        gap: 2px;
    }

    .specs dd {
        text-align: left;
    }
}

/* CTA band */

.cta-band {
    background: var(--brand);
}

.cta-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title btn" "text btn";
    column-gap: 40px;
    align-items: center;
    padding-block: clamp(40px, 6vw, 64px);
}

.cta-band__title {
    grid-area: title;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.1;
}

.cta-band__text {
    grid-area: text;
    max-width: 40em;
    margin: 10px 0 0;
}

.cta-band .btn {
    grid-area: btn;
}

@media (max-width: 760px) {
    .cta-band__inner {
        grid-template-columns: 1fr;
        grid-template-areas: "title" "text" "btn";
    }

    .cta-band .btn {
        justify-self: start;
        margin-top: 24px;
    }
}

/* Footer */

.site-footer {
    background: var(--ink);
    color: #cfc9bd;
    font-size: 15px;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--brand);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding-block: 56px 40px;
}

.site-footer strong {
    color: var(--paper);
    font-weight: 600;
}

.brand--footer {
    color: var(--paper);
}

.brand--footer .logo {
    width: 112px;
}

.site-footer__claim {
    margin: 16px 0 0;
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--paper);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 20px 28px;
    background: linear-gradient(#3a3833, #3a3833) top / calc(100% - var(--gutter) * 2) 1px no-repeat;
    font-size: 13px;
    color: #9c968a;
}

.site-footer__legal p {
    margin: 0;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
}

.site-footer__credit a {
    color: var(--paper);
}

.site-footer__heart {
    color: var(--brand);
}

@media (max-width: 860px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}

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

/* Legal pages */

.legal {
    max-width: 880px;
}

.legal__section {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.legal__title {
    font-size: 22px;
}

.legal__body p {
    color: var(--ink-2);
}

.legal__body p:last-child {
    margin-bottom: 0;
}

.legal__body a {
    text-decoration-color: var(--brand);
    text-decoration-thickness: 2px;
}

.legal__updated {
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 760px) {
    .legal__section {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
