:root {
    --black: #1d1f1f;
    --ink: #151515;
    --paper: #f6f5f1;
    --white: #ffffff;
    --muted: #aeb7c0;
    --line: rgba(21, 21, 21, .18);
    --serif: "Libre Caslon Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-weight: 300; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { font: inherit; }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    color: var(--white);
    mix-blend-mode: difference;
    transition: padding .3s ease;
}
.site-header.is-scrolled { padding-top: 16px; padding-bottom: 16px; }
.brand { font-size: 13px; font-weight: 600; letter-spacing: .18em; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 7px auto; background: currentColor; transition: transform .25s ease; }
.mobile-nav { display: none; }

.home-panel { min-height: 100vh; display: grid; grid-template-columns: 40% 60%; background: var(--white); }
.home-image { min-height: 100vh; background: var(--black) url('../imagenes/hero.jpg') center/cover no-repeat; }
.home-menu { display: flex; align-items: center; padding: 11vw 5vw; }
.editorial-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.editorial-nav a {
    position: relative;
    font-family: var(--serif);
    font-size: clamp(38px, 4vw, 70px);
    font-style: italic;
    line-height: .95;
    text-transform: uppercase;
    transition: color .25s ease, transform .25s ease;
}
.editorial-nav a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px; background: currentColor; transition: width .25s ease; }
.editorial-nav a:hover { transform: translateX(12px); }
.editorial-nav a:hover::after { width: 100%; }
.editorial-nav a.is-active { color: var(--muted); }

.page-section { padding: 120px 5vw; }
.section-intro { display: grid; grid-template-columns: 70px minmax(260px, 1fr) minmax(280px, 520px); gap: 40px; align-items: end; margin-bottom: 90px; }
.section-number { margin: 0; font-size: 12px; letter-spacing: .15em; }
.eyebrow { margin: 0 0 14px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(66px, 10vw, 165px); font-weight: 400; line-height: .8; text-transform: uppercase; }
.intro-text { margin: 0; font-size: 16px; line-height: 1.8; }

.art-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 70px 28px; }
.art-card { grid-column: span 5; }
.art-card:nth-child(2) { grid-column: 8 / span 4; margin-top: 180px; }
.art-card:nth-child(3) { grid-column: 2 / span 4; }
.art-card-wide { grid-column: 7 / span 6; margin-top: 120px; }
.art-image { display: block; height: 70vh; min-height: 520px; overflow: hidden; background: #ddd; }
.art-image.portrait { height: 72vh; }
.art-image.square { height: auto; aspect-ratio: 1; min-height: 0; }
.art-image.landscape { height: auto; aspect-ratio: 1.35; min-height: 0; }
.art-image img, .product-image img, .ceramic-card img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.art-image:hover img, .product-card:hover img, .ceramic-card:hover img { transform: scale(1.025); }
.art-meta { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.art-meta h2, .ceramic-card h2, .product-info h2 { margin-bottom: 6px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.art-meta p, .ceramic-card p, .product-info p { margin-bottom: 0; font-size: 12px; letter-spacing: .05em; }
.art-meta > span { font-size: 12px; }

.dark-section { color: var(--white); background: var(--black); }
.dark-section .section-intro { border-color: rgba(255,255,255,.2); }
.ceramic-grid { display: grid; grid-template-columns: 1.1fr .8fr 1fr; gap: 28px; align-items: start; }
.ceramic-card:nth-child(2) { margin-top: 160px; }
.ceramic-card:nth-child(3) { margin-top: 60px; }
.ceramic-card img { height: 66vh; min-height: 480px; margin-bottom: 18px; }
.ceramic-card:nth-child(2) img { height: 48vh; min-height: 380px; }

.commissions-section { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 100vh; padding: 0; background: var(--white); }
.commission-image { min-height: 100vh; background: #ddd url('../imagenes/commissions.jpg') center/cover no-repeat; }
.commission-copy { display: flex; flex-direction: column; justify-content: center; padding: 9vw 7vw; }
.commission-copy h1 { margin: 12px 0 50px; font-size: clamp(62px, 8vw, 130px); }
.commission-copy > p:not(.eyebrow):not(.section-number) { max-width: 620px; font-size: 17px; line-height: 1.9; }
.commission-steps { margin: 50px 0; border-top: 1px solid var(--line); }
.commission-steps div { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.commission-steps span { font-size: 11px; letter-spacing: .15em; }
.commission-steps p { margin: 0; line-height: 1.6; }
.text-link { align-self: flex-start; padding-bottom: 7px; border-bottom: 1px solid; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.text-link span { margin-left: 8px; }

.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: center; min-height: 100vh; }
.about-copy { max-width: 760px; padding-left: 3vw; }
.about-copy h1 { margin: 15px 0 60px; }
.about-lead { font-family: var(--serif); font-size: clamp(31px, 3.4vw, 54px); line-height: 1.15; }
.about-copy > p:not(.section-number):not(.eyebrow):not(.about-lead) { max-width: 620px; font-size: 16px; line-height: 1.9; }
.about-links { display: flex; flex-wrap: wrap; gap: 35px; margin-top: 45px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.about-image { height: 78vh; min-height: 580px; }

.gallery-section { background: #eeece6; }

.gallery-content {
    display: grid;
    grid-template-columns: 340px 1fr;
    column-gap: 80px;
    row-gap: 50px;
    align-items: start;
}

.gallery-info {
    position: sticky;
    top: 120px;
    max-width: 520px;
}

.gallery-info h2 {
    margin-bottom: 30px;
    font-family: var(--serif);
    font-size: clamp(38px, 4vw, 64px);
    font-weight: 400;
    line-height: 1.05;
}

.gallery-info > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.9;
}

.gallery-links {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 40px;
}

footer { display: grid; grid-template-columns: 1fr auto; gap: 70px; padding: 80px 5vw 35px; color: var(--white); background: var(--black); }
.footer-brand { display: inline-block; margin-bottom: 16px; }
footer p { color: rgba(255,255,255,.55); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 25px; font-family: var(--serif); font-size: 20px; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
    .site-header { padding: 20px; }
    .menu-toggle { display: block; }
    .mobile-nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; color: var(--ink); background: var(--paper); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
    .mobile-nav a { font-family: var(--serif); font-size: 48px; font-style: italic; text-transform: uppercase; }
    .menu-open .mobile-nav { opacity: 1; visibility: visible; }
    .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
    .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

    .home-panel { grid-template-columns: 38% 62%; }
    .section-intro { grid-template-columns: 45px 1fr; }
    .section-intro .intro-text { grid-column: 2; }
    .art-card, .art-card:nth-child(2), .art-card:nth-child(3), .art-card-wide { grid-column: span 6; margin-top: 0; }
    .ceramic-grid { grid-template-columns: repeat(2, 1fr); }
    .ceramic-card:nth-child(2), .ceramic-card:nth-child(3) { margin-top: 0; }
    .commissions-section, .about-section { grid-template-columns: 1fr; }
    .commission-image { min-height: 70vh; }
    .about-copy { padding-left: 0; }
    .about-image { height: 70vh; }
    .gallery-content { grid-template-columns: 1fr; }
    .gallery-info { position: static; }
    .gallery-event { grid-template-columns: 1fr 1fr; }
    .event-image { min-height: 620px; }
}

@media (max-width: 680px) {
    .home-panel { display: block; min-height: 100svh; background: var(--white); }
    .home-image { min-height: 38svh; }
    .home-menu { min-height: 62svh; padding: 12vh 26px 7vh; align-items: flex-start; }
    .editorial-nav { gap: 22px; }
    .editorial-nav a { font-size: clamp(35px, 12vw, 52px); }
    .page-section { padding: 88px 22px; }
    .section-intro { display: block; margin-bottom: 55px; }
    .section-number { margin-bottom: 40px; }
    .section-intro h1 { margin-bottom: 35px; }
    h1 { font-size: clamp(58px, 20vw, 95px); }
    .art-grid { display: block; }
    .art-card { margin-bottom: 58px !important; }
    .art-image, .art-image.portrait { height: 68vh; min-height: 440px; }
    .art-meta h2 { font-size: 21px; }
    .ceramic-grid { display: block; }
    .ceramic-card { margin-bottom: 55px; }
    .ceramic-card img, .ceramic-card:nth-child(2) img { height: 65vh; min-height: 430px; }
    .commission-image { min-height: 62vh; }
    .commission-copy { padding: 85px 22px; }
    .commission-copy h1 { margin-bottom: 38px; font-size: clamp(52px, 17vw, 82px); }
    .about-section { padding-left: 22px; padding-right: 22px; gap: 60px; }
    .about-copy h1 { margin-bottom: 40px; }
    .about-image { height: 62vh; min-height: 440px; }
    .gallery-content { display: block; }
    .gallery-info { margin-bottom: 60px; }
    .gallery-links { flex-direction: column; align-items: flex-start; gap: 20px; }
    .gallery-event { display: block; }
    .event-image { min-height: 0; aspect-ratio: 1 / 1; }
    .event-info { padding: 45px 25px; }
    .event-info h2 { font-size: 70px; }
    .event-artist { margin-bottom: 35px; }
    footer { grid-template-columns: 1fr; gap: 35px; padding: 65px 22px 30px; }
    .footer-links { gap: 16px 22px; }
    .footer-bottom { flex-direction: column; gap: 12px; }
}

.gallery-event {
    display: grid;
    grid-template-columns: 1fr 420px;
    grid-template-areas:
		"header header"
		"image info";
    background: var(--white);
}

.event-label {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--muted);
}

.event-header {
    grid-area: header;
    padding: 0 0 55px;
    margin-bottom: 45px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.event-header h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(70px, 8vw, 120px);
    font-weight: 400;
    line-height: .88;
    text-transform: uppercase;
}

.event-header h2 {
    margin: 8px 0 0;
    font-family: var(--serif);
    font-size: clamp(48px, 5vw, 82px);
    font-weight: 400;
    line-height: .95;
    font-style: italic;
}

.event-subtitle {
    margin-top: 22px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #666;
}

.event-image {
    grid-area: image;
}

.event-info {
    grid-area: info;
    padding: 50px;
}

.event-details {
    border-top: 1px solid var(--line);
}

.event-details p {
    display: grid;
    grid-template-columns: 95px 1fr;
    gap: 15px;
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.event-details span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
}

.event-description {
    margin-top: 35px;
    font-size: 15px;
    line-height: 1.8;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    margin-right: 24px;
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.language-switcher span {
    color: var(--muted);
}

.language-switcher a {
    text-decoration: none;
    color: var(--muted);
    transition: color .25s ease;
}

.language-switcher a:hover {
    color: var(--text);
}

.language-switcher a.active {
    color: var(--text);
    font-weight: 600;
}

.mobile-language-switcher {
    display: none;
}

@media (max-width: 900px) {
    .language-switcher {
        display: none;
    }

    .mobile-language-switcher {
        display: flex;
        justify-content: center;
        gap: 18px;
        margin-top: 40px;
        padding-top: 30px;
        border-top: 1px solid var(--line);
    }

    .mobile-language-switcher a {
        text-decoration: none;
        color: var(--text);
        letter-spacing: .15em;
        text-transform: uppercase;
        font-size: .8rem;
    }

    .mobile-language-switcher a.active {
        font-weight: 600;
    }
}