@font-face {
    font-family: "IBM Plex Mono";
    src: url("../assets/fonts/IBMPlexMono-ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Cormorant Infant";
    src: url("../assets/fonts/CormorantInfant-VariableFont_wght.ttf") format("truetype");
    font-weight: 300 700;
    font-style: normal;
}


/* =========================
   RESET
   ========================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    background: #f5efe0;
    color: #f5efe0;
    font-family: "IBM Plex Mono", monospace;
    font-weight: 200;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('../assets/images/index/indexbackground.jpg');
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    opacity: 0.55;
    filter: brightness(0.8);
    z-index: -1;
}


/* =========================
   PAGE TRANSITIONS — swipe between tabs
   (Chrome/Edge 126+: cross-document View Transitions.
   Other browsers simply navigate instantly, no animation —
   nothing breaks, it's a progressive enhancement.)
   ========================= */

@view-transition {
    navigation: auto;
}

/* keep the header stable — only the page content slides */
header {
    view-transition-name: site-header;
}

::view-transition-old(root) {
    animation: 0.54s cubic-bezier(0.4, 0, 0.2, 1) both evke-slide-out;
}

::view-transition-new(root) {
    animation: 0.54s cubic-bezier(0.4, 0, 0.2, 1) both evke-slide-in;
}

@keyframes evke-slide-out {
    to {
        transform: translateX(-100%);
    }
}

@keyframes evke-slide-in {
    from {
        transform: translateX(100%);
    }
}


/* =========================
   HEADER
   ========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding: 24px 28px;
    z-index: 100;
    color: #f5efe0;

    transition: transform 0.3s ease;
}

header.header-hidden {
    transform: translateY(-100%);
}

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

header > div {
    font-size: 13.2px;
    letter-spacing: 0.08em;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    font-size: 12.1px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #949090;
}

nav a.nav-active {
    font-weight: 700;
}


/* =========================
   HOME — hero
   ========================= */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 0 28px 140px;
}

.hero-title {
    font-family: "Cormorant Infant", serif;
    font-weight: 300;
    font-size: 36px;
    letter-spacing: 0.05em;
    color: #f5efe0;
    transform-origin: center;
    transition: transform 0.1s linear;
}

.site-logo {
    width: 242px;
    height: auto;
    margin: 32px 0;
    filter: brightness(1.2);
    transform-origin: center;
    transition: transform 0.1s linear;
}

.landing-heading {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 200;
    font-size: 11px;
    line-height: 1.26;
    letter-spacing: 1em;
    white-space: nowrap;
    color: #f5efe0;
    margin: 16px 0 0;
    transform-origin: center;
    transition: transform 0.1s linear;
}

.hero-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 48px;
    text-align: center;
    transform-origin: center;
    transition: transform 0.1s linear;
}

.hero-stack {
    display: grid;
    grid-template-areas: "stack";
    width: 100%;
}

.hero-stack > * {
    grid-area: stack;
}

.home-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: calc(100% + 56px);
    margin: 0 0 0 -28px;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    align-self: center;
    justify-self: center;
    padding: 40px 28px;
    transform-origin: center;
    transition: transform 0.1s linear;
}

.home-mosaic .field-img {
    aspect-ratio: 1 / 1;
    border: none;
}

.home-mosaic .field-img img {
    --reveal: 0;
    opacity: calc(var(--reveal, 0) * 0.7);
}

.home-mosaic .field-img.is-active img {
    opacity: 1;
}

.coordinates {
    transform: translateX(-28px);
}

.status {
    transform: translateX(28px);
    margin-top: 40px;
}

.coordinates,
.status {
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: #f5efe0;
}


/* =========================
   TRANSMISSION — entry section
   ========================= */

.transmission {
    position: relative;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.transmission > * {
    position: relative;
    z-index: 1;
}

.transmission-main {
    font-family: "Cormorant Infant", serif;
    font-weight: 300;
    font-size: 20px;
    letter-spacing: 0.35em;
    transform-origin: center;
    transition: transform 0.1s linear;
}

.site-logo.fade-in-delayed {
    opacity: 0;
    filter: blur(14px) brightness(1.2);
    animation: fadeInText 1.6s ease forwards;
    animation-delay: 5s;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        filter: blur(14px) brightness(1.2);
    }
    to {
        opacity: 1;
        filter: blur(0) brightness(1.2);
    }
}

/* --- scroll reveal (used on the OBJECTS OF PRESENCE section) --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   PAGE HEADERS (Contact / About / Objects / Archives / Field)
   ========================= */

.contact h1,
.about h1,
.objects h1,
.archives h1,
.custom h1 {
    font-family: "Cormorant Infant", serif;
    font-size: clamp(45px, 7vw, 105px);
    font-weight: 300;
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin: 0;
}


/* =========================
   CONTACT
   ========================= */

.contact {
    min-height: 100vh;
    padding: 160px 28px 140px;
    max-width: 520px;
}

.contact-subtitle {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    line-height: 1.9;
    letter-spacing: 0.05em;
    color: #f5efe0;
    margin: 32px 0 64px;
    text-transform: uppercase;
}

.contact-divider {
    border: none;
    border-top: 1px solid #f5efe0;
    margin: 64px 0;
}

.contact-info {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    line-height: 2.4;
}

.contact-info p {
    margin: 0;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.contact-info a:hover {
    border-bottom-color: #f5efe0;
}

.contact-write {
    font-family: "Cormorant Infant", serif;
    font-style: italic;
    font-size: 17px;
    font-weight: 400;
    color: #f5efe0;
    margin: 0 0 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.field-line {
    display: flex;
    align-items: baseline;
    gap: 20px;
    border-bottom: 1px solid #f5efe0;
    padding-bottom: 8px;
    margin-bottom: 40px;
}

.field-line label {
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: #f5efe0;
    flex-shrink: 0;
}

.field-line input {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    background: transparent;
    border: none;
    outline: none;
    flex: 1;
    min-width: 0;
}

.field-block {
    margin-bottom: 48px;
}

.field-block label {
    display: block;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: #f5efe0;
    margin-bottom: 16px;
}

.field-block textarea {
    width: 100%;
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    background: transparent;
    border: 1px solid #f5efe0;
    padding: 16px;
    outline: none;
    resize: none;
}

.contact-form button {
    align-self: flex-start;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    background: transparent;
    color: #f5efe0;
    border: 1px solid #f5efe0;
    padding: 14px 28px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #111111;
    color: #f5efe0;
}


/* =========================
   ABOUT
   ========================= */

.about {
    min-height: 100vh;
    padding: 160px 28px 140px;
    max-width: 560px;
}

.about h1 {
    margin: 0 0 24px;
}

.about-subtitle {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-align: center;
    color: #f5efe0;
    margin: 72px 0 48px;
}

.about-block {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    line-height: 1.9;
    letter-spacing: 0.02em;
    color: #f5efe0;
}

.about-block p {
    margin: 0 0 44px;
}

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

.legal {
    min-height: 100vh;
    padding: 200px 28px 140px;
    max-width: 560px;
    margin: 0 auto;
}

.legal-subtitle {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-align: center;
    color: #f5efe0;
    margin: 0 0 48px;
}

.legal-block {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    line-height: 1.9;
    letter-spacing: 0.02em;
    color: #f5efe0;
}

.legal-block p {
    margin: 0 0 32px;
}

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

.about-emphasis {
    font-family: "Cormorant Infant", serif;
    font-style: normal;
    font-size: 18px;
    font-weight: 400;
    color: #f5efe0;
    line-height: 1.5;
}


/* =========================
   CUSTOM
   ========================= */

.custom {
    min-height: 100vh;
    padding: 160px 28px 140px;
    max-width: 560px;
}

.custom h1 {
    margin: 0 0 24px;
}

.custom-subtitle {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-align: center;
    color: #f5efe0;
    margin: 72px 0 48px;
}

.custom-block {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    line-height: 1.9;
    letter-spacing: 0.02em;
    color: #f5efe0;
}

.custom-block p {
    margin: 0 0 44px;
}

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

.custom-process {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px 40px;
    margin: 0 0 72px;
}

.custom-step {
    border-top: 1px solid #f5efe0;
    padding-top: 20px;
}

.custom-step-title {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 200;
    font-size: 11px;
    letter-spacing: 0.15em;
    margin: 0 0 12px;
}

.custom-step p {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 0.02em;
    color: #f5efe0;
    margin: 0;
}

.custom-emphasis {
    font-family: "Cormorant Infant", serif;
    font-style: normal;
    font-size: 18px;
    font-weight: 400;
    color: #f5efe0;
    line-height: 1.5;
}

.custom-emphasis a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.custom-emphasis a:hover {
    border-bottom-color: #f5efe0;
}


/* =========================
   OBJECTS
   ========================= */

.objects {
    min-height: 100vh;
    padding: 160px 28px 140px;
}

.objects h1 {
    margin: 0;
}

.objects-subtitle {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #f5efe0;
    line-height: 1.7;
    margin: 24px 0 100px;
}

.objects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.object-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.object-image {
    position: relative;
    aspect-ratio: 3 / 4;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.object-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1s ease;
}

.object-image img.is-active {
    opacity: 1;
}

.object-image span {
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    color: #f5efe0;
}

.object-card:hover .object-image {
    opacity: 0.6;
}

.object-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: "IBM Plex Mono", monospace;
}

.object-id {
    font-size: 10px;
    letter-spacing: 0.08em;
    color: #f5efe0;
}

.object-name {
    font-family: "Cormorant Infant", serif;
    font-size: 17px;
    font-weight: 400;
}

.object-material {
    font-size: 10px;
    letter-spacing: 0.05em;
    color: #f5efe0;
    text-transform: uppercase;
}


/* =========================
   OBJECT DETAIL (single piece)
   ========================= */

.object-page {
    padding: 160px 28px 140px;
    max-width: 720px;
    margin: 0 auto;
}

.object-hero {
    aspect-ratio: 4 / 5;
    border: 1px solid #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 64px;
}

.object-hero img,
.object-image-block img,
.object-worn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.object-hero span,
.object-image-block span,
.object-worn span {
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    color: #f5efe0;
    text-transform: uppercase;
}

.object-info {
    max-width: 380px;
    margin: 0 auto 56px;
    text-align: center;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f5efe0;
}

.object-info p {
    margin: 0;
    line-height: 2;
}

.object-phrase {
    max-width: 420px;
    margin: 0 auto 80px;
    font-family: "Cormorant Infant", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    color: #f5efe0;
}

.object-details {
    max-width: 380px;
    margin: 0 auto 96px;
    text-align: center;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.03em;
    line-height: 2;
    color: #f5efe0;
}

.object-details-label {
    letter-spacing: 0.2em;
    margin-bottom: 8px !important;
}

.object-details p {
    margin: 0;
}

.object-gallery-pair {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 16px;
    margin-bottom: 64px;
}

.object-image-block {
    border: 1px solid #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.object-image-block.small {
    aspect-ratio: 3 / 4;
}

.object-image-block.large {
    aspect-ratio: 4 / 5;
}

.object-worn {
    aspect-ratio: 3 / 4;
    max-width: 460px;
    margin: 0 auto 96px;
    border: 1px solid #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.object-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}

.object-footer-code {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    line-height: 1.8;
    color: #f5efe0;
}

.object-enquire {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #f5efe0;
    text-decoration: none;
    background: transparent;
    border: 1px solid #f5efe0;
    padding: 14px 32px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.object-enquire:hover {
    background: #f5efe0;
    color: #111111;
}


/* =========================
   ARCHIVES
   ========================= */

.archives {
    min-height: 100vh;
    padding: 160px 28px 140px;
    max-width: 560px;
}

.archives h1 {
    margin: 0 0 32px;
}

.archives-subtitle {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    line-height: 1.9;
    letter-spacing: 0.05em;
    color: #f5efe0;
    text-transform: uppercase;
    margin: 0 0 64px;
}

.archives-divider {
    border: none;
    border-top: 1px solid #f5efe0;
    margin-bottom: 64px;
}

.archives-log {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 2.2;
    color: #f5efe0;
}

.archives-log p {
    margin: 0;
}


/* =========================
   FOOTER
   ========================= */

footer {
    padding: 24px 28px;

    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
}

.about-credits,
.about-legal {
    font-size: 10px;
    letter-spacing: 0.08em;
    margin: 0 0 6px;
}

.about-legal a {
    color: inherit;
    text-decoration: underline;
}

.footer-line {
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 10px;
    font-size: 11px;
}

.footer-line-track {
    display: inline-flex;
    animation: footer-marquee 14s linear infinite;
}

.footer-line-track span {
    padding-right: 48px;
}

@keyframes footer-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {

    header {
        padding: 18px;
    }

    nav {
        gap: 12px;
        flex-direction: column;
        align-items: flex-end;
    }

    .hero {
        padding: 0 18px 100px;
    }

    .home-mosaic {
        grid-template-columns: repeat(2, 1fr);
        width: calc(100% + 36px);
        margin-left: -18px;
    }

    .hero-title {
        font-size: 24px;
    }

    .landing-heading {
        font-size: 11px;
    }

    .hero-info {
        margin-top: 32px;
    }

    .coordinates {
        transform: translateX(-14px);
    }

    .status {
        transform: translateX(14px);
        margin-top: 28px;
    }

    .transmission {
        padding-top: 140px;
    }

    .contact,
    .about,
    .objects,
    .custom {
        padding-top: 200px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .archives {
        padding-top: 220px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .contact h1,
    .about h1,
    .objects h1,
    .archives h1,
    .custom h1 {
        font-size: 32px;
    }

    .custom-process {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-divider {
        margin: 48px 0;
    }

    .objects-grid {
        gap: 28px;
    }

    .object-page {
        padding: 200px 18px 100px;
    }

    .object-hero {
        margin-bottom: 48px;
    }

    .object-gallery-pair {
        grid-template-columns: 1fr;
    }
}


/* =========================
   FIELD
   ========================= */
.field {
    padding: 160px 28px 140px;
    max-width: 1100px;
    margin: 0 auto;
}

.field h1 {
    font-family: "Cormorant Infant", serif;
    font-size: clamp(45px, 7vw, 105px);
    font-weight: 300;
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin: 0;
}

.field-subtitle {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #f5efe0;
    margin: 16px 0 80px;
}

.field-entry {
    margin-bottom: 120px;
}

.field-entry:last-child {
    margin-bottom: 0;
}

.field-entry-title {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 200;
    font-size: 11px;
    letter-spacing: 0.15em;
    margin: 0 0 24px;
}

.field-mosaic {
    display: grid;
    gap: 10px;
}

.field-mosaic-8 {
    grid-template-columns: 1fr 1.3fr 1fr 0.8fr 1.6fr;
    grid-template-rows: 160px 160px;
}

.field-mosaic-8 .area-a  { grid-area: 1 / 1 / 2 / 2; }
.field-mosaic-8 .area-b  { grid-area: 1 / 2 / 3 / 3; }
.field-mosaic-8 .area-c  { grid-area: 1 / 3 / 2 / 5; }
.field-mosaic-8 .area-g  { grid-area: 2 / 1 / 3 / 2; }
.field-mosaic-8 .area-d  { grid-area: 2 / 3 / 3 / 4; }
.field-mosaic-8 .area-e  { grid-area: 2 / 4 / 3 / 5; }
.field-mosaic-8 .area-f1 { grid-area: 1 / 5 / 2 / 6; }
.field-mosaic-8 .area-f2 { grid-area: 2 / 5 / 3 / 6; }

.field-mosaic-6 {
    grid-template-columns: 1fr 1.3fr 1fr 0.8fr 1.6fr;
    grid-template-rows: 160px 160px;
}

.field-mosaic-6 .area-a { grid-area: 1 / 1 / 3 / 2; }
.field-mosaic-6 .area-b { grid-area: 1 / 2 / 3 / 3; }
.field-mosaic-6 .area-c { grid-area: 1 / 3 / 2 / 5; }
.field-mosaic-6 .area-d { grid-area: 2 / 3 / 3 / 4; }
.field-mosaic-6 .area-e { grid-area: 2 / 4 / 3 / 5; }
.field-mosaic-6 .area-f { grid-area: 1 / 5 / 3 / 6; }

.field-img {
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.field-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.field-img:hover img {
    transform: scale(1.03);
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(245, 239, 224, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 200;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.field-img.is-active {
    z-index: 201;
}

.field-img.is-active img {
    position: fixed;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    max-width: 82vw;
    max-height: 76vh;
    transform: translate(-50%, -50%);
    object-fit: contain;
    cursor: zoom-out;
    z-index: 201;
}

.lightbox-caption {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 202;

    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: #949090;
    text-align: center;
    max-width: 80vw;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-caption.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-caption a {
    color: inherit;
    border-bottom: 1px solid #999999;
    text-decoration: none;
}

@media (max-width: 700px) {
    .field {
        padding: 200px 18px 100px;
    }

    .field h1 {
        font-size: 32px;
        margin-bottom: 0;
    }

    .field-subtitle {
        margin: 8px 0 56px;
    }

    .field-entry {
        margin-bottom: 80px;
    }

    .field-mosaic-8,
    .field-mosaic-6 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
        grid-auto-rows: 140px;
    }

    .field-mosaic-8 .area-a,
    .field-mosaic-8 .area-b,
    .field-mosaic-8 .area-c,
    .field-mosaic-8 .area-g,
    .field-mosaic-8 .area-d,
    .field-mosaic-8 .area-e,
    .field-mosaic-8 .area-f1,
    .field-mosaic-8 .area-f2,
    .field-mosaic-6 .area-a,
    .field-mosaic-6 .area-b,
    .field-mosaic-6 .area-c,
    .field-mosaic-6 .area-d,
    .field-mosaic-6 .area-e,
    .field-mosaic-6 .area-f {
        grid-area: auto;
    }
}


/* =========================
   EVKE__SYSTEM pop-ups
   ========================= */
.evke-popup {
    position: fixed;
    max-width: 240px;
    background: rgba(245, 239, 224, 0.3);
    border: none;
    padding: 16px 18px;
    z-index: 500;
    cursor: pointer;

    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.evke-popup.is-visible {
    opacity: 1;
    transform: scale(1);
}

.evke-popup-close {
    position: absolute;
    top: 6px;
    right: 9px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: #949090;
}

.evke-popup-code {
    display: block;
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #949090;
    margin-bottom: 10px;
}

.evke-popup-text {
    display: block;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.02em;
    color: #949090;
}

.evke-popup-options {
    display: inline-block;
    margin-top: 6px;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: #949090;
}

@media (max-width: 700px) {
    .evke-popup {
        max-width: 200px;
        font-size: 11px;
    }
}