/*
Theme Name: Mex Tattoos Custom
Theme URI: https://mextattoos.com/
Author: Mex Tattoos
Description: A lightweight, editorial WordPress theme for a welcoming Bali tattoo studio.
Version: 1.1.11
Text Domain: mextattoos
*/

:root {
    --mx-black: #0b0b0b;
    --mx-charcoal: #151515;
    --mx-ink: #17120e;
    --mx-orange: #f28c00;
    --mx-orange-light: #ffa31a;
    --mx-burnt: #b85d00;
    --mx-ivory: #f5f0e8;
    --mx-paper: #fffdf8;
    --mx-sand: #e8ddcf;
    --mx-brown: #4b3528;
    --mx-muted: #a9a197;
    --mx-border-dark: #2b2a28;
    --mx-border-light: #d2c7ba;
    --mx-container: 1200px;
    --mx-wide: 1360px;
    --mx-header-height: 88px;
    --mx-section-space: clamp(100px, 10vw, 154px);
    --mx-heading: clamp(2.9rem, 4.6vw, 5rem);
    --mx-display-font: "Fraunces", Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 0;
    margin: 0;
    overflow-x: hidden;
    color: var(--mx-ink);
    background: var(--mx-black);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

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

button {
    color: inherit;
}

h1,
h2,
h3,
h4,
p,
blockquote,
figure {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--mx-display-font);
    font-optical-sizing: auto;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

::selection {
    color: var(--mx-black);
    background: var(--mx-orange);
}

:focus-visible {
    outline: 3px solid var(--mx-orange);
    outline-offset: 4px;
}

.site-main {
    display: block;
}

.site-container {
    width: min(var(--mx-container), calc(100% - 48px));
    margin-inline: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

.screen-reader-text:focus {
    top: 12px;
    left: 12px;
    z-index: 99999;
    width: auto;
    height: auto;
    margin: 0;
    padding: 12px 16px;
    clip: auto;
    color: var(--mx-black);
    background: var(--mx-orange);
    font-weight: 800;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--mx-header-height);
    color: var(--mx-ivory);
    background: rgba(11, 11, 11, 0.97);
    border-bottom: 1px solid var(--mx-border-dark);
    backdrop-filter: blur(12px);
}

.admin-bar .site-header {
    top: 32px;
}

.site-header__inner {
    display: flex;
    min-height: var(--mx-header-height);
    gap: 28px;
    align-items: center;
}

.site-brand {
    flex: 0 0 auto;
}

.custom-logo-link,
.site-brand__fallback {
    display: inline-flex;
    align-items: center;
}

.custom-logo,
.site-brand__fallback img {
    width: auto;
    max-height: 64px;
}

.primary-navigation {
    margin-left: auto;
}

.primary-menu,
.footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.primary-menu a {
    position: relative;
    display: inline-flex;
    padding: 30px 0;
    color: var(--mx-ivory);
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
}

.primary-menu a::after {
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    height: 2px;
    background: var(--mx-orange);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.primary-menu a:hover::after,
.primary-menu a:focus-visible::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current-menu-ancestor > a::after {
    transform: scaleX(1);
}

.header-cta {
    display: inline-flex;
    min-height: 48px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    color: var(--mx-black);
    background: var(--mx-orange);
    font-size: 0.8rem;
    font-weight: 850;
    text-decoration: none;
    transition: background-color 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
    background: var(--mx-orange-light);
}

.header-cta--mobile,
.menu-toggle {
    display: none;
}

/* Shared sections and typography */

.section-dark {
    color: var(--mx-ivory);
    background: var(--mx-black);
}

.section-light {
    color: var(--mx-ink);
    background: var(--mx-ivory);
}

.section-warm {
    color: var(--mx-ink);
    background: var(--mx-sand);
}

.section-kicker {
    margin: 0 0 27px;
    color: var(--mx-orange);
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1.3;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.section-kicker--dark {
    color: var(--mx-burnt);
}

.lead {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.7;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
    gap: clamp(48px, 8vw, 130px);
    margin-bottom: 74px;
    align-items: end;
}

.split-heading h2,
.narrow-grid h2,
.artist-match h2,
.faq-preview h2 {
    max-width: 760px;
    margin: 0;
    font-size: var(--mx-heading);
    line-height: 1.06;
    letter-spacing: -0.025em;
}

.split-heading > p,
.split-heading > div:last-child > p {
    max-width: 560px;
    margin-bottom: 0;
    font-size: 1.04rem;
    line-height: 1.75;
}

.split-heading--dark > p,
.split-heading--dark > div:last-child > p {
    color: #c7bfb5;
}

.button-row {
    display: flex;
    gap: 16px;
    margin-top: 38px;
    flex-wrap: wrap;
}

.mx-button {
    display: inline-flex;
    min-height: 54px;
    padding: 0 25px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-size: 0.86rem;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.mx-button--primary {
    color: var(--mx-black);
    background: var(--mx-orange);
    border-color: var(--mx-orange);
}

.mx-button--primary:hover,
.mx-button--primary:focus-visible {
    background: var(--mx-orange-light);
    border-color: var(--mx-orange-light);
}

.mx-button--secondary {
    color: var(--mx-ivory);
    background: rgba(11, 11, 11, 0.24);
    border-color: rgba(245, 240, 232, 0.55);
}

.mx-button--secondary:hover,
.mx-button--secondary:focus-visible {
    color: var(--mx-black);
    background: var(--mx-ivory);
    border-color: var(--mx-ivory);
}

.mx-button--dark {
    color: var(--mx-ivory);
    background: var(--mx-black);
    border-color: var(--mx-black);
}

.mx-button--dark:hover,
.mx-button--dark:focus-visible {
    color: var(--mx-black);
    background: var(--mx-orange);
    border-color: var(--mx-orange);
}

.mx-button--outline-dark {
    color: var(--mx-black);
    background: transparent;
    border-color: var(--mx-black);
}

.mx-button--outline-dark:hover,
.mx-button--outline-dark:focus-visible {
    color: var(--mx-ivory);
    background: var(--mx-black);
}

.text-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    color: var(--mx-black);
    font-size: 0.88rem;
    font-weight: 850;
    text-decoration: none;
}

.text-link span {
    color: var(--mx-burnt);
    transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
    transform: translateX(5px);
}

.text-link--light {
    color: var(--mx-ivory);
}

.text-link--light span {
    color: var(--mx-orange);
}

.image-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    background: radial-gradient(circle at 75% 20%, rgba(242, 140, 0, 0.2), transparent 34%), repeating-linear-gradient(-45deg, #151515 0, #151515 13px, #1c1c1c 13px, #1c1c1c 26px);
}

.image-placeholder--light {
    background: radial-gradient(circle at 70% 22%, rgba(242, 140, 0, 0.14), transparent 34%), repeating-linear-gradient(-45deg, #ded5c9 0, #ded5c9 13px, #e9e1d6 13px, #e9e1d6 26px);
}

.image-placeholder--portrait {
    min-height: 620px;
}

.image-placeholder span {
    position: absolute;
    top: 42%;
    left: 50%;
    max-width: 80%;
    padding: 12px 16px;
    color: #b8b0a6;
    background: rgba(5, 5, 5, 0.9);
    border-left: 3px solid var(--mx-orange);
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
    transform: translate(-50%, -50%);
}

/* Homepage hero */

.home-hero {
    position: relative;
    min-height: min(780px, calc(100svh - var(--mx-header-height)));
    overflow: hidden;
    color: var(--mx-ivory);
    background: var(--mx-black);
}

.home-hero__media,
.home-hero__media::after {
    position: absolute;
    inset: 0;
}

.home-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero__media::after {
    background: linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.87) 35%, rgba(5, 5, 5, 0.35) 66%, rgba(5, 5, 5, 0.08) 100%), linear-gradient(0deg, rgba(5, 5, 5, 0.42), transparent 45%);
    content: "";
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: min(780px, calc(100svh - var(--mx-header-height)));
    padding-block: 92px;
    align-items: center;
}

.home-hero__content {
    width: min(730px, 60%);
}

.home-hero h1 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(3.4rem, 5.3vw, 5.9rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
}

.home-hero__description {
    max-width: 620px;
    margin: 35px 0 0;
    color: #ddd5cc;
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.78;
}

.home-hero__trust {
    display: flex;
    gap: 12px 27px;
    margin: 34px 0 0;
    padding: 0;
    flex-wrap: wrap;
    list-style: none;
    color: #d3cbc1;
    font-size: 0.78rem;
}

.home-hero__trust li {
    position: relative;
    padding-left: 17px;
}

.home-hero__trust li::before {
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--mx-orange);
    border-radius: 50%;
    content: "";
}

.home-hero__caption {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    margin: 0;
    padding: 10px 13px;
    color: var(--mx-ivory);
    background: rgba(5, 5, 5, 0.78);
    border-left: 3px solid var(--mx-orange);
    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Journey */

.journey-section,
.work-section,
.studio-story,
.artist-match,
.process-section,
.reviews-section,
.faq-preview,
.style-directory,
.detail-intro,
.style-gallery,
.planning-section,
.related-section,
.artist-directory,
.artist-values,
.studio-intro,
.studio-gallery,
.hygiene-intro,
.protocol-section,
.hygiene-photo,
.reviews-page,
.quiet-banner,
.aftercare-intro,
.aftercare-steps,
.travel-note,
.faq-page,
.contact-prep,
.contact-photo {
    padding-block: var(--mx-section-space);
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--mx-border-light);
    border-left: 1px solid var(--mx-border-light);
}

.journey-card {
    position: relative;
    display: flex;
    min-height: 440px;
    padding: clamp(30px, 3vw, 46px);
    flex-direction: column;
    background: var(--mx-paper);
    border-right: 1px solid var(--mx-border-light);
    border-bottom: 1px solid var(--mx-border-light);
}

.journey-card__number,
.journey-card__eyebrow {
    color: var(--mx-burnt);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.journey-card__number {
    margin-bottom: 42px;
}

.journey-card h3 {
    margin: 12px 0 20px;
    font-size: clamp(1.6rem, 2vw, 2.15rem);
    line-height: 1.14;
    letter-spacing: -0.015em;
}

.journey-card > p:last-of-type {
    color: var(--mx-brown);
}

.journey-card .text-link {
    margin-top: auto;
    padding-top: 30px;
}

/* Work grid */

.work-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 310px 310px 390px 360px;
    gap: 16px;
}

.work-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--mx-charcoal);
    border: 1px solid var(--mx-border-dark);
}

.work-card--1 { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.work-card--2 { grid-column: 8 / span 5; grid-row: 1; }
.work-card--3 { grid-column: 8 / span 5; grid-row: 2; }
.work-card--4 { grid-column: 1 / span 4; grid-row: 3; }
.work-card--5 { grid-column: 5 / span 4; grid-row: 3; }
.work-card--6 { grid-column: 9 / span 4; grid-row: 3; }
.work-card--7 { grid-column: 1 / -1; grid-row: 4; }

.work-card > a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: var(--mx-ivory);
    text-decoration: none;
}

.work-card__media {
    position: absolute;
    inset: 0;
}

.work-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.work-card > a::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.62) 36%, rgba(5, 5, 5, 0.03) 76%);
    content: "";
}

.work-card__number {
    position: absolute;
    top: 24px;
    right: 25px;
    z-index: 2;
    color: var(--mx-orange);
    font-size: 0.7rem;
    font-weight: 850;
}

.work-card__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: clamp(25px, 3vw, 42px);
}

.work-card__content p {
    margin: 0 0 11px;
    color: var(--mx-orange);
    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.work-card__content h3 {
    margin: 0;
    font-size: clamp(1.7rem, 2.6vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.018em;
}

.work-card__content > span {
    display: inline-flex;
    gap: 10px;
    margin-top: 17px;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 850;
}

.work-card__content > span span {
    color: var(--mx-orange);
}

.work-card > a:hover .work-card__media img {
    transform: scale(1.035);
}

/* Studio story */

.studio-story__grid,
.artist-match__grid,
.contact-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: clamp(60px, 8vw, 120px);
    align-items: center;
}

.photo-stack {
    position: relative;
    min-height: 680px;
}

.photo-stack__main,
.photo-stack__small {
    overflow: hidden;
    border: 1px solid var(--mx-border-light);
}

.photo-stack__main {
    width: calc(100% - 78px);
    min-height: 620px;
}

.photo-stack__small {
    position: absolute;
    right: 0;
    bottom: 24px;
    width: 48%;
    min-height: 260px;
    border: 9px solid var(--mx-sand);
    box-shadow: 0 24px 54px rgba(23, 18, 14, 0.18);
}

.photo-stack img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.video-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    min-height: inherit;
    padding: 0;
    overflow: hidden;
    color: var(--mx-ivory);
    background: var(--mx-black);
    border: 0;
    cursor: pointer;
}

.video-thumbnail video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.82);
    transition: filter 220ms ease, transform 400ms ease;
}

.video-thumbnail::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 5, 5, 0.48), transparent 65%);
    content: "";
}

.video-thumbnail__play {
    position: absolute;
    bottom: 18px;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    min-height: 44px;
    padding: 10px 15px;
    gap: 9px;
    align-items: center;
    color: var(--mx-ivory);
    background: rgba(5, 5, 5, 0.9);
    border-left: 3px solid var(--mx-orange);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateX(-50%);
}

.video-thumbnail__play > span {
    color: var(--mx-orange);
    font-size: 0.82rem;
}

.video-thumbnail:hover video {
    filter: brightness(0.95);
    transform: scale(1.035);
}

.video-thumbnail:focus-visible {
    outline: 3px solid var(--mx-orange);
    outline-offset: -5px;
}

.video-dialog {
    width: auto;
    max-width: 94vw;
    max-height: 92svh;
    margin: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
}

.video-dialog::backdrop {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(7px);
}

.video-dialog__inner {
    position: relative;
    display: grid;
    max-width: 94vw;
    max-height: 92svh;
    place-items: center;
}

.video-dialog video {
    display: block;
    width: auto;
    max-width: 94vw;
    height: auto;
    max-height: 90svh;
    background: #000;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.video-dialog__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    place-items: center;
    color: var(--mx-ivory);
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.video-dialog__close:hover,
.video-dialog__close:focus-visible {
    color: var(--mx-black);
    background: var(--mx-orange);
    border-color: var(--mx-orange);
}

.studio-story__content h2 {
    margin: 0;
    font-size: clamp(3rem, 4.5vw, 4.8rem);
    line-height: 1.06;
    letter-spacing: -0.025em;
}

.studio-story__content > .lead {
    margin: 30px 0 0;
    color: var(--mx-brown);
}

.proof-list {
    margin: 38px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--mx-border-light);
}

.proof-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 23px 0;
    border-bottom: 1px solid var(--mx-border-light);
}

.proof-list > li > span {
    padding-top: 3px;
    color: var(--mx-burnt);
    font-size: 0.68rem;
    font-weight: 850;
}

.proof-list h3 {
    margin: 0 0 7px;
    font-size: 1.12rem;
}

.proof-list p {
    margin: 0;
    color: var(--mx-brown);
}

/* Artist match */

.artist-match__content h2 {
    margin: 0;
    font-size: clamp(3rem, 4.3vw, 4.8rem);
    line-height: 1.06;
    letter-spacing: -0.025em;
}

.artist-match__content > .lead {
    margin: 30px 0;
    color: var(--mx-brown);
}

.quiet-points {
    margin: 32px 0;
    border-top: 1px solid var(--mx-border-light);
}

.quiet-points p {
    margin: 0;
    padding: 20px 0;
    color: var(--mx-brown);
    border-bottom: 1px solid var(--mx-border-light);
}

.quiet-points strong {
    color: var(--mx-black);
}

.artist-match__photo {
    min-height: 650px;
    overflow: hidden;
    background: var(--mx-charcoal);
}

.artist-match__photo img {
    width: 100%;
    height: 100%;
    min-height: 650px;
    object-fit: cover;
}

/* Process */

.process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 44px;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--mx-border-dark);
    border-left: 1px solid var(--mx-border-dark);
}

.process-list li {
    min-height: 310px;
    padding: 34px;
    border-right: 1px solid var(--mx-border-dark);
    border-bottom: 1px solid var(--mx-border-dark);
}

.process-list > li > span {
    display: block;
    margin-bottom: 62px;
    color: var(--mx-orange);
    font-size: 0.69rem;
    font-weight: 850;
}

.process-list h3 {
    margin: 0 0 14px;
    font-size: 1.25rem;
    line-height: 1.2;
}

.process-list p {
    margin: 0;
    color: #bbb3aa;
    font-size: 0.94rem;
}

/* Reviews */

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 42px;
}

.review-card {
    position: relative;
    display: flex;
    min-height: 430px;
    padding: clamp(29px, 3vw, 44px);
    flex-direction: column;
    background: var(--mx-paper);
    border: 1px solid var(--mx-border-light);
}

.review-card::before {
    position: absolute;
    top: 14px;
    right: 25px;
    color: rgba(184, 93, 0, 0.16);
    font-family: Georgia, serif;
    font-size: 7rem;
    line-height: 1;
    content: "“";
}

.review-card__category {
    position: relative;
    z-index: 1;
    max-width: 75%;
    margin: 0 0 48px;
    color: var(--mx-burnt);
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.review-card blockquote {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.015em;
}

.review-card footer {
    display: flex;
    gap: 5px;
    margin-top: auto;
    padding-top: 28px;
    flex-direction: column;
    border-top: 1px solid var(--mx-border-light);
}

.review-card cite {
    font-style: normal;
    font-weight: 850;
}

.review-card__source {
    display: inline-flex;
    width: fit-content;
    gap: 6px;
    align-items: center;
    color: var(--mx-burnt);
    font-size: 0.7rem;
    font-weight: 750;
    text-decoration: none;
}

.review-card__source:hover,
.review-card__source:focus-visible {
    color: var(--mx-black);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.review-card__source span {
    transition: transform 180ms ease;
}

.review-card__source:hover span,
.review-card__source:focus-visible span {
    transform: translate(2px, -2px);
}

.review-actions {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

/* FAQ */

.faq-preview__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: clamp(60px, 9vw, 140px);
    align-items: start;
}

.faq-preview__heading {
    position: sticky;
    top: calc(var(--mx-header-height) + 40px);
}

.faq-preview__heading h2 {
    margin-bottom: 28px;
}

.faq-preview__heading > p:not(.section-kicker) {
    color: var(--mx-brown);
    font-size: 1.05rem;
}

.faq-list {
    border-top: 1px solid #b9aa99;
}

.faq-list details {
    border-bottom: 1px solid #b9aa99;
}

.faq-list summary {
    display: flex;
    min-height: 92px;
    gap: 20px;
    padding: 25px 0;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    color: var(--mx-black);
    border: 1px solid var(--mx-black);
    transition: transform 180ms ease, color 180ms ease, background-color 180ms ease;
}

.faq-list details[open] summary span {
    color: var(--mx-ivory);
    background: var(--mx-black);
    transform: rotate(45deg);
}

.faq-list details > p {
    max-width: 690px;
    margin: -4px 54px 30px 0;
    color: var(--mx-brown);
}

/* Final CTA */

.final-cta {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: var(--mx-ivory);
    background: var(--mx-black);
}

.final-cta--compact {
    min-height: 540px;
}

.final-cta__media,
.final-cta__media::after {
    position: absolute;
    inset: 0;
}

.final-cta__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.final-cta__media::after {
    background: linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.8) 48%, rgba(5, 5, 5, 0.25) 100%);
    content: "";
}

.final-cta__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 620px;
    padding-block: 84px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.final-cta--compact .final-cta__content {
    min-height: 540px;
}

.final-cta h2 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(3rem, 5vw, 5.4rem);
    line-height: 1.04;
    letter-spacing: -0.028em;
}

.final-cta__content > p:not(.section-kicker) {
    max-width: 620px;
    margin: 28px 0 0;
    color: #d3cbc1;
    font-size: 1.08rem;
}

.final-cta__content > .mx-button {
    margin-top: 36px;
}

/* Inner page heroes */

.page-hero {
    padding: clamp(110px, 13vw, 190px) 0 clamp(90px, 11vw, 150px);
}

.page-hero__inner,
.generic-page__header-inner,
.single-post__header-inner {
    max-width: 980px;
    margin-inline: auto;
}

.page-hero h1,
.generic-page__header h1,
.single-post__header h1,
.contact-hero h1,
.studio-page-hero h1 {
    margin: 0;
    font-size: clamp(3.4rem, 6.4vw, 6.5rem);
    line-height: 1.02;
    letter-spacing: -0.032em;
}

.page-hero .lead,
.generic-page__header p:last-child {
    max-width: 760px;
    margin: 32px 0 0;
    color: #cec6bc;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 54px;
    align-items: center;
    color: #aaa197;
    font-size: 0.75rem;
}

.breadcrumb a {
    text-decoration-color: rgba(242, 140, 0, 0.7);
    text-underline-offset: 4px;
}

.inner-hero {
    padding-block: clamp(70px, 8vw, 120px);
}

.inner-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
    gap: clamp(60px, 9vw, 140px);
    align-items: center;
}

.inner-hero__content h1 {
    margin: 0;
    font-size: clamp(3.3rem, 5.5vw, 5.9rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
}

.inner-hero__content .lead {
    max-width: 650px;
    margin: 30px 0;
    color: #cec6bc;
}

.inner-hero__media {
    min-height: 650px;
    overflow: hidden;
    border: 1px solid var(--mx-border-dark);
}

.inner-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 650px;
    object-fit: cover;
}

.narrow-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: clamp(60px, 10vw, 150px);
    align-items: start;
}

.narrow-grid > div:last-child > p:not(.section-kicker) {
    color: var(--mx-brown);
}

.info-note {
    margin-top: 36px;
    padding: 24px 0;
    border-top: 1px solid var(--mx-border-light);
    border-bottom: 1px solid var(--mx-border-light);
}

.info-note strong {
    display: block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.info-note p {
    margin: 0;
}

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

.gallery-grid figure {
    min-height: 560px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--mx-border-light);
}

.gallery-grid figure:nth-child(2),
.gallery-grid figure:nth-child(3) {
    min-height: 430px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.gallery-grid--studio .video-thumbnail {
    height: 100%;
    min-height: inherit;
}

.gallery-grid--studio .video-thumbnail video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.planning-grid,
.protocol-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--mx-border-light);
    border-left: 1px solid var(--mx-border-light);
}

.planning-grid article,
.protocol-grid article {
    min-height: 320px;
    padding: clamp(28px, 3vw, 42px);
    background: rgba(255, 253, 248, 0.5);
    border-right: 1px solid var(--mx-border-light);
    border-bottom: 1px solid var(--mx-border-light);
}

.planning-grid article > span,
.protocol-grid article > span {
    display: block;
    margin-bottom: 70px;
    color: var(--mx-burnt);
    font-size: 0.68rem;
    font-weight: 850;
}

.planning-grid h3,
.protocol-grid h3 {
    margin: 0 0 15px;
    font-size: 1.35rem;
}

.planning-grid p,
.protocol-grid p {
    margin: 0;
    color: var(--mx-brown);
}

.related-section h2 {
    max-width: 700px;
    margin: 0 0 50px;
    font-size: var(--mx-heading);
    line-height: 1.06;
    letter-spacing: -0.025em;
}

.related-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--mx-border-dark);
}

.related-links a {
    display: flex;
    min-height: 88px;
    gap: 18px;
    padding: 20px 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--mx-border-dark);
    color: var(--mx-ivory);
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
}

.related-links a:nth-child(odd) {
    padding-right: 30px;
    border-right: 1px solid var(--mx-border-dark);
}

.related-links a:nth-child(even) {
    padding-left: 30px;
}

.related-links span {
    color: var(--mx-orange);
}

/* Style directory */

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

.style-directory__card {
    overflow: hidden;
    background: var(--mx-paper);
    border: 1px solid var(--mx-border-light);
}

.style-directory__card > a {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
    min-height: 420px;
    color: var(--mx-black);
    text-decoration: none;
}

.style-directory__media {
    min-height: 420px;
    overflow: hidden;
    background: var(--mx-charcoal);
}

.style-directory__media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    transition: transform 500ms ease;
}

.style-directory__content {
    display: flex;
    padding: clamp(28px, 3vw, 42px);
    flex-direction: column;
}

.style-directory__content > span {
    margin-bottom: 55px;
    color: var(--mx-burnt);
    font-size: 0.68rem;
    font-weight: 850;
}

.style-directory__content h2 {
    margin: 0 0 18px;
    font-size: clamp(1.7rem, 2.4vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: -0.018em;
}

.style-directory__content p {
    color: var(--mx-brown);
}

.style-directory__content strong {
    margin-top: auto;
    font-size: 0.82rem;
}

.style-directory__content strong span {
    margin-left: 8px;
    color: var(--mx-burnt);
}

.style-directory__card > a:hover img {
    transform: scale(1.035);
}

.quiet-banner h2,
.travel-note h2 {
    margin: 0;
}

.quiet-banner .mx-button {
    margin-top: 24px;
}

/* Artists */

.artist-directory__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.artist-directory__grid--1 {
    max-width: 840px;
    grid-template-columns: minmax(0, 1fr);
}

.artist-directory__grid--2 {
    max-width: 1040px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.artist-profile {
    background: var(--mx-paper);
    border: 1px solid var(--mx-border-light);
}

.artist-profile__media {
    min-height: 520px;
    overflow: hidden;
    background: var(--mx-charcoal);
}

.artist-profile__media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.artist-profile__content {
    padding: 30px;
}

.artist-profile__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.artist-profile__meta span {
    color: var(--mx-burnt);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.artist-profile__content h2 {
    margin: 22px 0 12px;
    font-size: clamp(1.75rem, 2.2vw, 2.2rem);
    line-height: 1.08;
}

.artist-profile__content h2 a {
    text-decoration: none;
}

.artist-profile__content h2 a:hover,
.artist-profile__content h2 a:focus-visible {
    color: var(--mx-burnt);
}

.artist-profile__content p {
    margin: 0;
    color: var(--mx-brown);
}

.artist-profile__content .artist-profile__specialties {
    margin-bottom: 18px;
    color: var(--mx-burnt);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
}

.artist-profile__bio {
    line-height: 1.7;
}

.artist-profile__content .artist-profile__link {
    display: inline-flex;
    margin-top: 24px;
}

.artist-single {
    padding-block: var(--mx-section-space);
}

.artist-single__grid {
    display: grid;
    gap: clamp(44px, 7vw, 100px);
    grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
}

.artist-single__media {
    min-height: 620px;
    overflow: hidden;
    background: var(--mx-charcoal);
}

.artist-single__media img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}

.artist-single__content h1 {
    max-width: 820px;
    margin: 18px 0 24px;
    font-size: clamp(3.2rem, 6vw, 6.5rem);
    line-height: 0.96;
}

.artist-single__specialties {
    margin-bottom: 28px;
    color: var(--mx-orange);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.artist-single__bio {
    max-width: 700px;
    color: #d6cec5;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.artist-single__story {
    max-width: 700px;
    margin-top: 28px;
    color: #bfb6ac;
}

.artist-single__actions {
    margin-top: 34px;
}

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

    .artist-single__media,
    .artist-single__media img {
        min-height: min(680px, 118vw);
    }
}

.artist-directory__empty {
    max-width: 760px;
    padding: clamp(34px, 5vw, 64px);
    background: var(--mx-paper);
    border: 1px solid var(--mx-border-light);
}

.artist-directory__empty h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3vw, 3rem);
}

.artist-directory__empty .mx-button {
    margin-top: 24px;
}

/* Studio */

.studio-page-hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
}

.studio-page-hero__media,
.studio-page-hero__media::after {
    position: absolute;
    inset: 0;
}

.studio-page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-page-hero__media::after {
    background: linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.72) 48%, rgba(5, 5, 5, 0.12));
    content: "";
}

.studio-page-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 760px;
    padding-block: 80px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.studio-page-hero h1 {
    max-width: 860px;
}

.studio-page-hero .lead {
    max-width: 660px;
    margin: 30px 0 0;
    color: #d4ccc2;
}

@media (min-width: 761px) {
    .gallery-grid--studio figure:first-child {
        grid-column: 1 / -1;
        min-height: 520px;
    }

    .gallery-grid--studio figure:nth-child(3) {
        grid-row: span 2;
    }
}

/* Hygiene and aftercare */

.protocol-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.protocol-grid article {
    min-height: 300px;
}

.protocol-grid article > span {
    margin-bottom: 54px;
}

.travel-note {
    color: var(--mx-ivory);
}

.travel-note .narrow-grid > div:last-child > p {
    color: #c7bfb5;
}

/* Contact */

.contact-hero {
    padding-block: clamp(80px, 10vw, 150px);
}

.contact-hero__content .lead {
    max-width: 650px;
    margin: 30px 0 0;
    color: #cec6bc;
}

.contact-card {
    padding: clamp(30px, 4vw, 50px);
    color: var(--mx-black);
    background: var(--mx-ivory);
}

.contact-card__label {
    margin: 0 0 32px;
    color: var(--mx-burnt);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-card dl,
.contact-card dd {
    margin: 0;
}

.contact-card dl > div {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--mx-border-light);
}

.contact-card dt {
    color: var(--mx-burnt);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-card dd {
    font-weight: 700;
}

.contact-card__links {
    display: flex;
    gap: 15px 24px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.contact-card__links a {
    font-size: 0.82rem;
    font-weight: 850;
    text-underline-offset: 5px;
}

/* Generic content and blog */

.generic-page__header,
.single-post__header {
    padding-block: clamp(110px, 12vw, 180px);
}

.generic-page__content,
.single-post__content {
    max-width: 820px;
    padding-block: 80px 120px;
    color: var(--mx-ink);
    background: var(--mx-ivory);
}

.generic-page,
.single-post {
    background: var(--mx-ivory);
}

.entry-content > * {
    max-width: 760px;
    margin-inline: auto;
}

.entry-content > .alignwide {
    max-width: var(--mx-container);
}

.entry-content > .alignfull {
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}

.entry-content h2 {
    margin-top: 2.4em;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.entry-content h3 {
    margin-top: 2em;
    font-size: 1.5rem;
}

.entry-content p,
.entry-content li {
    font-size: 1.05rem;
    line-height: 1.8;
}

.single-post__image {
    margin-top: 70px;
}

.archive-layout {
    min-height: 70vh;
    padding-block: 110px;
    color: var(--mx-ivory);
    background: var(--mx-black);
}

.archive-header {
    max-width: 900px;
    margin-bottom: 70px;
}

.archive-header h1 {
    margin: 0;
    font-size: var(--mx-heading);
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.archive-header > p:last-child {
    max-width: 650px;
    margin-top: 28px;
    color: #c7bfb5;
}

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

.post-card {
    overflow: hidden;
    background: var(--mx-charcoal);
    border: 1px solid var(--mx-border-dark);
}

.post-card__media {
    display: block;
    min-height: 320px;
    overflow: hidden;
}

.post-card__media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.post-card__content {
    padding: 32px;
}

.post-card__content > p:first-child {
    color: var(--mx-orange);
    font-size: 0.7rem;
    font-weight: 800;
}

.post-card h2 {
    margin: 0 0 15px;
    font-size: 1.8rem;
    line-height: 1.1;
}

.post-card h2 a {
    text-decoration: none;
}

.post-card__content > p:not(:first-child) {
    color: #bbb3aa;
}

.error-page {
    min-height: 70vh;
}

.error-page__inner {
    display: flex;
    min-height: 70vh;
    padding-block: 90px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.error-page h1 {
    max-width: 900px;
    margin: 0;
    font-size: var(--mx-heading);
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.error-page p:not(.section-kicker) {
    max-width: 580px;
    margin-top: 28px;
    color: #c7bfb5;
}

/* Footer */

.site-footer {
    padding: 76px 0 0;
    color: var(--mx-ivory);
    background: #080808;
    border-top: 1px solid var(--mx-border-dark);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.75fr 0.85fr 1fr;
    gap: clamp(38px, 6vw, 84px);
    padding-bottom: 66px;
}

.site-footer__brand img {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.site-footer__brand p {
    max-width: 310px;
    margin: 24px 0 0;
    color: #a9a197;
    font-size: 0.9rem;
}

.site-footer__column {
    display: flex;
    gap: 9px;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer__column h2 {
    margin: 0 0 20px;
    color: var(--mx-orange);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer__column a,
.footer-menu a {
    color: var(--mx-ivory);
    font-size: 0.86rem;
    text-decoration-color: #6e655c;
    text-underline-offset: 5px;
}

.footer-menu {
    display: flex;
    gap: 8px;
    flex-direction: column;
}

.site-footer address,
.site-footer__column p {
    margin: 0;
    color: #aaa197;
    font-size: 0.86rem;
    font-style: normal;
}

.site-footer__bottom {
    display: flex;
    min-height: 76px;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    color: #8f877e;
    border-top: 1px solid var(--mx-border-dark);
}

.site-footer__legal {
    display: flex;
    gap: 22px;
}

.site-footer__legal a {
    color: #aaa197;
    font-size: 0.75rem;
}

/* Responsive */

@media (max-width: 1180px) {
    .primary-menu {
        gap: 18px;
    }

    .primary-menu a {
        font-size: 0.76rem;
    }

    .header-cta {
        padding-inline: 16px;
    }
}

@media (max-width: 1080px) {
    :root {
        --mx-heading: clamp(2.8rem, 7vw, 4.8rem);
    }

    .menu-toggle {
        position: relative;
        z-index: 1100;
        display: grid;
        width: 48px;
        height: 48px;
        margin-left: auto;
        padding: 12px;
        place-content: center;
        gap: 6px;
        border: 1px solid #3a3a3a;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 23px;
        height: 2px;
        background: var(--mx-ivory);
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .primary-navigation {
        position: fixed;
        top: var(--mx-header-height);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1050;
        display: flex;
        padding: 30px max(24px, calc((100vw - var(--mx-container)) / 2));
        overflow-y: auto;
        flex-direction: column;
        visibility: hidden;
        background: #0d0d0d;
        opacity: 0;
        transform: translateY(-12px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .admin-bar .primary-navigation {
        top: calc(var(--mx-header-height) + 32px);
    }

    .primary-navigation.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .primary-menu {
        display: block;
        border-top: 1px solid var(--mx-border-dark);
    }

    .primary-menu li {
        border-bottom: 1px solid var(--mx-border-dark);
    }

    .primary-menu a {
        display: flex;
        min-height: 58px;
        padding: 15px 0;
        align-items: center;
        font-size: 1rem;
    }

    .primary-menu a::after {
        display: none;
    }

    .header-cta--desktop {
        display: none;
    }

    .header-cta--mobile {
        display: inline-flex;
        width: 100%;
        min-height: 56px;
        margin-top: 22px;
    }

    .split-heading,
    .studio-story__grid,
    .artist-match__grid,
    .contact-hero__grid,
    .inner-hero__grid,
    .narrow-grid,
    .faq-preview__grid {
        grid-template-columns: 1fr;
    }

    .split-heading,
    .narrow-grid {
        gap: 28px;
    }

    .journey-grid,
    .review-grid,
    .artist-directory__grid {
        grid-template-columns: 1fr;
    }

    .journey-card,
    .review-card {
        min-height: 360px;
    }

    .journey-card__number {
        margin-bottom: 28px;
    }

    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: 470px;
    }

    .work-card,
    .work-card--1,
    .work-card--2,
    .work-card--3,
    .work-card--4,
    .work-card--5,
    .work-card--6 {
        grid-column: auto;
        grid-row: auto;
    }

    .work-card--7 {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .studio-story__grid {
        gap: 70px;
    }

    .photo-stack {
        width: min(720px, 100%);
        margin-inline: auto;
    }

    .artist-match__photo,
    .artist-match__photo img {
        min-height: 560px;
    }

    .process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-preview__heading {
        position: static;
    }

    .style-directory__grid {
        grid-template-columns: 1fr;
    }

    .artist-profile {
        display: grid;
        grid-template-columns: minmax(280px, 0.8fr) 1fr;
    }

    .artist-profile__content {
        align-self: center;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }

    .admin-bar .primary-navigation {
        top: calc(var(--mx-header-height) + 46px);
    }
}

@media (max-width: 760px) {
    :root {
        --mx-header-height: 80px;
        --mx-section-space: 88px;
    }

    .site-container {
        width: min(var(--mx-container), calc(100% - 38px));
    }

    .custom-logo,
    .site-brand__fallback img {
        max-height: 58px;
    }

    .home-hero {
        min-height: auto;
    }

    .home-hero__media {
        position: relative;
        height: 260px;
    }

    .home-hero__media::after {
        background: linear-gradient(0deg, var(--mx-black) 0%, rgba(5, 5, 5, 0.05) 68%);
    }

    .home-hero__inner {
        min-height: auto;
        padding: 64px 0 86px;
    }

    .home-hero__content {
        width: 100%;
    }

    .home-hero h1 {
        font-size: clamp(2.75rem, 11vw, 3.8rem);
    }

    .home-hero__caption {
        display: none;
    }

    .work-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 480px;
    }

    .photo-stack {
        min-height: auto;
    }

    .photo-stack__main {
        width: 100%;
        min-height: 470px;
    }

    .photo-stack__small {
        position: relative;
        right: auto;
        bottom: auto;
        width: 78%;
        min-height: 210px;
        margin: -70px 0 0 auto;
        border-width: 8px;
    }

    .artist-match__photo,
    .artist-match__photo img,
    .image-placeholder--portrait {
        min-height: 480px;
    }

    .process-list,
    .planning-grid,
    .protocol-grid {
        grid-template-columns: 1fr;
    }

    .process-list li,
    .planning-grid article,
    .protocol-grid article {
        min-height: 270px;
    }

    .process-list > li > span,
    .planning-grid article > span,
    .protocol-grid article > span {
        margin-bottom: 42px;
    }

    .review-card {
        min-height: 390px;
    }

    .final-cta,
    .final-cta--compact,
    .final-cta__content,
    .final-cta--compact .final-cta__content {
        min-height: 580px;
    }

    .final-cta h2 {
        font-size: clamp(2.65rem, 10.8vw, 3.65rem);
    }

    .page-hero h1,
    .generic-page__header h1,
    .single-post__header h1,
    .contact-hero h1,
    .studio-page-hero h1,
    .inner-hero__content h1 {
        font-size: clamp(2.75rem, 11vw, 4rem);
    }

    .inner-hero__media,
    .inner-hero__media img {
        min-height: 520px;
    }

    .gallery-grid,
    .related-links,
    .post-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid figure,
    .gallery-grid figure:nth-child(2),
    .gallery-grid figure:nth-child(3) {
        min-height: 480px;
    }

    .related-links a:nth-child(odd),
    .related-links a:nth-child(even) {
        padding-right: 0;
        padding-left: 0;
        border-right: 0;
    }

    .style-directory__card > a {
        grid-template-columns: 1fr;
    }

    .style-directory__media,
    .style-directory__media img {
        min-height: 480px;
    }

    .style-directory__content > span {
        margin-bottom: 35px;
    }

    .artist-profile {
        display: block;
    }

    .artist-profile__media,
    .artist-profile__media img {
        min-height: 500px;
    }

    .studio-page-hero,
    .studio-page-hero__content {
        min-height: 680px;
    }

    .studio-page-hero__media::after {
        background: linear-gradient(0deg, rgba(5, 5, 5, 0.97), rgba(5, 5, 5, 0.38));
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding-top: 58px;
    }

    .site-footer__grid {
        gap: 34px;
        padding-bottom: 48px;
    }

    .site-footer__brand img {
        width: 74px;
        height: 74px;
    }
}

@media (max-width: 560px) {
    .button-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button-row .mx-button,
    .final-cta .mx-button {
        width: 100%;
    }

    .home-hero__trust {
        display: grid;
    }

    .journey-card {
        min-height: 400px;
        padding: 30px 26px;
    }

    .work-grid {
        grid-auto-rows: 470px;
    }

    .work-card__content {
        padding: 28px;
    }

    .studio-story__content h2,
    .split-heading h2,
    .narrow-grid h2,
    .artist-match h2,
    .faq-preview h2,
    .related-section h2 {
        font-size: clamp(2.35rem, 9.8vw, 3.2rem);
    }

    .proof-list li {
        grid-template-columns: 36px 1fr;
        gap: 12px;
    }

    .faq-list summary {
        font-size: 1rem;
    }

    .contact-card dl > div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .site-footer__bottom {
        padding-block: 22px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
