
/* ==========================================================
   ATELIER BLANC | NOSOTROS V9
   Diseño cinematográfico con identidad editorial.
   Estilos exclusivos de esta página. No altera index ni colecciones.
   ========================================================== */

:root {
    --n9-cream: #f6f1e9;
    --n9-ink: #202b27;
    --n9-gold: #c7a985;
    --n9-muted: #706e65;
}

body { overflow-x: clip; }
main { overflow: clip; }
.n9-container { width: min(1380px, calc(100% - 100px)); margin-inline: auto; }
.n9-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .22em; font-weight: 700; text-transform: uppercase; }
.n9-line { width: 35px; height: 1px; background: currentColor; }
.n9-hero h1, .n9-manifesto h2, .n9-editorial h2, .n9-pillars h2, .n9-next h2, .n9-film-copy p { font-family: "Playfair Display", Georgia, serif; font-weight: 400; letter-spacing: -.045em; }
.n9-hero em, .n9-manifesto em, .n9-editorial em, .n9-pillars em, .n9-next em, .n9-film-copy em { font-weight: 400; }

/* 01. Portada: fotografía completa, capa oscura y texto superpuesto */
.n9-hero { position: relative; min-height: 760px; height: min(850px, 100svh); display: flex; align-items: center; isolation: isolate; color: #fff; background: #26352e; }
.n9-hero-image, .n9-hero-shade { position: absolute; inset: 0; z-index: -1; }
.n9-hero-image { overflow: hidden; }
.n9-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; animation: n9-hero-zoom 12s ease-out both; }
.n9-hero-shade { background: linear-gradient(90deg, rgba(15,25,22,.77), rgba(15,25,22,.28) 64%, rgba(15,25,22,.14)), linear-gradient(0deg, rgba(15,25,22,.48), transparent 30%); }
.n9-hero-content { width: min(800px, 75%); margin-left: max(6vw, calc((100vw - 1380px)/2)); padding-top: 85px; animation: n9-enter 1.1s .1s both; }
.n9-hero-eyebrow { color: #f5dfc4; }
.n9-hero h1 { font-size: clamp(64px, 7.3vw, 125px); line-height: 1.03; margin: 27px 0 24px; }
.n9-hero h1 em { color: #e6c6a3; }
.n9-hero-content > p { max-width: 475px; font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.88); }
.n9-hero-link { margin-top: 34px; display: inline-flex; align-items: center; gap: 35px; padding: 16px 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.6); text-decoration: none; transition: color .3s, gap .3s; }
.n9-hero-link:hover { color: #eac6a0; gap: 50px; }
.n9-hero-index, .n9-scroll-hint { position: absolute; bottom: 34px; font-size: 10px; letter-spacing: .17em; color: rgba(255,255,255,.83); }
.n9-hero-index { left: 6vw; } .n9-hero-index span { margin-inline: 8px; }
.n9-scroll-hint { right: 6vw; } .n9-scroll-hint span { margin-left: 15px; font-size: 20px; }
@keyframes n9-hero-zoom { from { transform: scale(1.13); } to { transform: scale(1); } }
@keyframes n9-enter { from { opacity: 0; transform: translateY(35px); } to { opacity: 1; transform: translateY(0); } }

/* 02. Manifiesto: composición tipográfica con sello */
.n9-manifesto { background: var(--n9-cream); padding: 145px 0 150px; color: var(--n9-ink); }
.n9-manifesto-layout { display: grid; grid-template-columns: 175px minmax(0,1fr); gap: 70px; }
.n9-section-index { display: flex; flex-direction: column; align-items: flex-start; gap: 25px; font-size: 10px; letter-spacing: .13em; }
.n9-index-rule { width: 1px; height: 140px; background: #b7a994; }
.n9-manifesto-copy > .n9-eyebrow { color: #9b785c; }
.n9-manifesto h2 { font-size: clamp(42px, 5.2vw, 82px); line-height: 1.2; margin: 25px 0 55px; }
.n9-manifesto h2 em { color: #9a7a60; }
.n9-manifesto-bottom { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.n9-manifesto-bottom > p { max-width: 590px; font-size: 17px; line-height: 2; color: #66685e; }
.n9-seal { width: 135px; height: 135px; flex: none; border: 1px solid #c8b6a2; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: rotate(-12deg); }
.n9-seal span { font-family: "Playfair Display", serif; font-size: 44px; }
.n9-seal small { font-size: 8px; letter-spacing: .14em; }

/* 03. Editorial: mosaico con imágenes a diferentes alturas */
.n9-editorial { background: #fffdfa; padding: 130px 0 155px; color: var(--n9-ink); }
.n9-editorial-top { display: flex; justify-content: space-between; align-items: end; gap: 55px; margin-bottom: 60px; }
.n9-editorial-top .n9-eyebrow { color: #a27b5a; }
.n9-editorial h2 { font-size: clamp(47px, 5vw, 78px); line-height: 1.17; margin: 25px 0 0; }
.n9-editorial h2 em { color: #a47e61; }
.n9-editorial-top > p { max-width: 330px; font-size: 15px; line-height: 1.9; color: var(--n9-muted); }
.n9-collage { display: grid; grid-template-columns: 1.18fr .82fr; gap: 35px; }
.n9-collage figure { margin: 0; overflow: hidden; position: relative; }
.n9-collage img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.n9-depth:hover img { transform: scale(1.07); }
.n9-collage-large { height: 750px; }
.n9-collage-side { display: flex; flex-direction: column; gap: 35px; }
.n9-collage-small { height: 440px; }
.n9-collage figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; color: white; font-size: 10px; letter-spacing: .17em; background: linear-gradient(transparent, rgba(0,0,0,.45)); }
.n9-collage figcaption span { margin-right: 20px; }
.n9-quote { min-height: 275px; padding: 30px 45px; background: #e8e0d4; display: flex; flex-direction: column; justify-content: center; }
.n9-quote > span:first-child { font-family: Georgia, serif; font-size: 74px; line-height: .8; color: #a98b6d; }
.n9-quote p { font-family: "Playfair Display", Georgia, serif; font-size: clamp(22px,2.1vw,33px); line-height: 1.35; margin: 15px 0 25px; }
.n9-quote-line { width: 70px; height: 1px; background: #ab8d6f; }

/* 04. Pilares: pestañas y fotografía intercambiable */
.n9-pillars { padding: 120px 0; background: #1b302a; color: #f8f3eb; }
.n9-pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; align-items: center; }
.n9-pillars .n9-eyebrow { color: #d6b998; }
.n9-pillars h2 { font-size: clamp(46px, 5.2vw, 82px); line-height: 1.15; margin: 25px 0; }
.n9-pillars h2 em { color: #c6ab8c; }
.n9-pillars-content > p { max-width: 360px; color: #c4cec6; line-height: 1.9; }
.n9-tabs { margin-top: 45px; border-top: 1px solid rgba(255,255,255,.22); }
.n9-tab { width: 100%; display: flex; align-items: center; gap: 20px; padding: 24px 6px; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.66); text-align: left; font-family: "Playfair Display", serif; font-size: 26px; cursor: pointer; transition: padding .3s, color .3s, background .3s; }
.n9-tab span { font: 11px "DM Sans", sans-serif; }
.n9-tab b { margin-left: auto; font: 20px "DM Sans", sans-serif; }
.n9-tab:hover, .n9-tab.active { padding-left: 15px; color: #f2d1a7; background: rgba(255,255,255,.055); }
.n9-pillars-visual { position: relative; height: 640px; overflow: hidden; }
.n9-pillars-visual > img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .8s; }
.n9-pillars-visual > img.changing { opacity: .28; transform: scale(1.035); }
.n9-visual-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 90px 35px 35px; background: linear-gradient(transparent, rgba(15,24,20,.83)); }
.n9-visual-label span { font-size: 11px; letter-spacing: .2em; }
.n9-visual-label p { max-width: 360px; font-size: 16px; line-height: 1.7; margin: 12px 0 0; }

/* 05. Fotografía inmersiva y llamada a la acción */
.n9-film { min-height: 550px; position: relative; display: grid; place-items: center; color: #fff; isolation: isolate; }
.n9-film-image, .n9-film-overlay { position: absolute; inset: 0; z-index: -1; }
.n9-film-image img { width: 100%; height: 100%; object-fit: cover; }
.n9-film-overlay { background: rgba(12,22,19,.48); }
.n9-film-copy { text-align: center; padding: 90px 24px; }
.n9-film-copy > span { font-size: 11px; letter-spacing: .24em; }
.n9-film-copy p { font-size: clamp(50px, 6vw, 90px); line-height: 1.2; margin: 25px 0 0; }
.n9-film-copy em { color: #e5c8a6; }
.n9-next { padding: 105px 0; background: var(--n9-cream); color: var(--n9-ink); }
.n9-next-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.n9-next .n9-eyebrow { color: #9b785c; }
.n9-next h2 { font-size: clamp(38px, 4.1vw, 64px); line-height: 1.25; margin: 20px 0 0; }
.n9-next h2 em { color: #9b785c; }
.n9-next-button { flex: none; display: inline-flex; align-items: center; gap: 35px; padding: 20px 27px; background: #213b32; color: #fff; text-decoration: none; border: 1px solid #213b32; transition: background .3s, box-shadow .3s, transform .3s; }
.n9-next-button:hover { background: #a27c5c; border-color: #a27c5c; box-shadow: 0 15px 35px rgba(42,38,30,.2); transform: translateY(-4px); }

/* Animaciones: intencionalmente sin comprobaciones prefers-reduced-motion */
.reveal { opacity: 0; transform: translateY(35px); transition: opacity .85s ease, transform .85s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
    .n9-container { width: min(100% - 60px, 1380px); }
    .n9-manifesto-layout { grid-template-columns: 100px 1fr; gap: 30px; }
    .n9-collage-large { height: 610px; }
    .n9-collage-small { height: 350px; }
    .n9-pillars-grid { gap: 5%; }
    .n9-pillars-visual { height: 550px; }
}
@media (max-width: 700px) {
    .n9-container { width: calc(100% - 36px); }
    .n9-hero { height: 780px; min-height: min(780px, 100svh); }
    .n9-hero-content { width: calc(100% - 44px); margin-left: 22px; padding-top: 45px; }
    .n9-hero h1 { font-size: clamp(49px, 12vw, 76px); }
    .n9-hero-content > p { font-size: 14px; }
    .n9-hero-index { left: 22px; font-size: 9px; }
    .n9-scroll-hint { display: none; }
    .n9-manifesto, .n9-editorial { padding: 75px 0; }
    .n9-manifesto-layout { display: block; }
    .n9-section-index { margin-bottom: 30px; }
    .n9-index-rule { display: none; }
    .n9-manifesto h2 { font-size: clamp(37px, 9vw, 54px); margin-bottom: 30px; }
    .n9-manifesto-bottom { align-items: flex-start; }
    .n9-manifesto-bottom > p { font-size: 14px; }
    .n9-seal { display: none; }
    .n9-editorial-top { display: block; margin-bottom: 35px; }
    .n9-editorial-top > p { margin-top: 20px; font-size: 14px; }
    .n9-editorial h2 { font-size: clamp(41px, 10vw, 60px); }
    .n9-collage { grid-template-columns: 1fr; gap: 18px; }
    .n9-collage-large { height: 480px; }
    .n9-collage-side { gap: 18px; }
    .n9-collage-small { height: 310px; }
    .n9-quote { min-height: 215px; padding: 25px; }
    .n9-pillars { padding: 75px 0; }
    .n9-pillars-grid { grid-template-columns: 1fr; gap: 45px; }
    .n9-pillars h2 { font-size: clamp(45px, 10vw, 65px); }
    .n9-pillars-visual { height: 460px; }
    .n9-film { min-height: 390px; }
    .n9-film-copy p { font-size: clamp(43px, 10vw, 68px); }
    .n9-next { padding: 75px 0; }
    .n9-next-inner { align-items: flex-start; flex-direction: column; }
    .n9-next h2 { font-size: clamp(38px, 9vw, 55px); }
}
@media (max-width: 390px) {
    .n9-hero h1 { font-size: 46px; }
    .n9-tab { font-size: 23px; }
    .n9-pillars-visual { height: 390px; }
}


/* ==========================================================
   V10 · PORTADA CON VIDEO LOCAL
   La portada anterior queda sustituida. Estos selectores nuevos
   se aíslan para no afectar otras páginas ni secciones.
   ========================================================== */

.n10-hero {
    position: relative;
    isolation: isolate;
    min-height: 690px;
    height: min(900px, 100svh);
    overflow: hidden;
    color: #fff;
    background: #9c917f;
}

.n10-hero-video,
.n10-hero-fallback,
.n10-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.n10-hero-fallback {
    z-index: -3;
    background: #b6a994 url("https://images.unsplash.com/photo-1615874959474-d609969a20ed?auto=format&fit=crop&w=2000&q=85") center / cover no-repeat;
}

.n10-hero-video {
    z-index: -2;
    object-fit: cover;
    object-position: center;
}

.n10-hero-overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgba(30,32,28,.46), rgba(31,36,31,.26)),
                linear-gradient(0deg, rgba(20,27,24,.4), transparent 30%);
}

.n10-hero-inner {
    width: min(1500px, calc(100% - 110px));
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.n10-hero-side-note {
    position: absolute;
    top: 50%;
    left: 0;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    font-size: 10px;
    letter-spacing: .25em;
    opacity: .9;
}

.n10-hero-center {
    max-width: 1000px;
    margin: 70px auto 0;
    text-align: center;
    animation: n9-enter 1s .15s both;
}

.n10-hero-kicker {
    font-size: 11px;
    letter-spacing: .32em;
    font-weight: 600;
}

.n10-hero h1 {
    margin: 30px 0 25px;
    font: 400 clamp(75px, 10vw, 150px)/.99 "Playfair Display", Georgia, serif;
    letter-spacing: -.06em;
}

.n10-hero h1 em {
    font-weight: 400;
    color: #f0dbc3;
}

.n10-hero-center > p {
    max-width: 475px;
    margin: 0 auto;
    line-height: 1.9;
    font-size: 16px;
}

.n10-hero-discover {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    margin-top: 42px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(255,255,255,.8);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: .16em;
    transition: gap .3s, color .3s;
}

.n10-hero-discover:hover {
    gap: 39px;
    color: #f0dbc3;
}

.n10-hero-bottom {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    letter-spacing: .17em;
}

.n10-hero-bottom b { margin-left: 13px; font-size: 18px; }

/* ==========================================================
   V10 · HISTORIA DE MARCA EN DOS COLUMNAS
   Fotografía vertical y bloque editorial sin tarjetas repetidas.
   ========================================================== */

.n10-story {
    background: #f4f0e9;
    color: #25342d;
    padding: 130px 0;
}

.n10-story-container {
    width: min(1340px, calc(100% - 110px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .93fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(60px, 9vw, 160px);
}

.n10-story-image {
    position: relative;
    height: 780px;
    overflow: hidden;
    background: #d7c9b9;
}

.n10-story-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s ease;
}

.n10-story-image:hover img { transform: scale(1.055); }

.n10-story-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,.4));
    color: #fff;
    font-size: 10px;
    letter-spacing: .16em;
}

.n10-story-overline {
    display: flex;
    align-items: center;
    gap: 17px;
    color: #99765b;
    font-size: 11px;
    letter-spacing: .19em;
    font-weight: 700;
}

.n10-story-dash { width: 35px; height: 1px; background: currentColor; }

.n10-story h2 {
    margin: 28px 0 30px;
    font: 400 clamp(47px, 5vw, 76px)/1.16 "Playfair Display", Georgia, serif;
    letter-spacing: -.045em;
}

.n10-story h2 em { font-weight: 400; color: #a37c5c; }

.n10-story-lead {
    max-width: 470px;
    font: 400 clamp(20px, 2vw, 27px)/1.55 "Playfair Display", Georgia, serif;
}

.n10-story-description {
    max-width: 470px;
    margin-top: 25px;
    font-size: 15px;
    line-height: 2;
    color: #6c6d64;
}

.n10-story-values {
    margin-top: 40px;
    border-top: 1px solid #d5cbbf;
}

.n10-story-values > div {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 19px 0;
    border-bottom: 1px solid #d5cbbf;
}

.n10-story-values span { color: #a48265; font-size: 11px; }
.n10-story-values strong { font-weight: 500; font-size: 15px; }

.n10-story-link {
    display: inline-flex;
    align-items: center;
    gap: 26px;
    margin-top: 36px;
    padding-bottom: 13px;
    border-bottom: 1px solid #25342d;
    color: #25342d;
    font-size: 11px;
    letter-spacing: .12em;
    text-decoration: none;
    transition: gap .3s, color .3s;
}

.n10-story-link:hover { gap: 42px; color: #a37c5c; }

@media (max-width: 1050px) {
    .n10-story-container { gap: 45px; width: calc(100% - 70px); }
    .n10-story-image { height: 650px; }
    .n10-story h2 { font-size: clamp(43px, 5vw, 65px); }
}

@media (max-width: 700px) {
    .n10-hero { height: 740px; min-height: min(740px, 100svh); }
    .n10-hero-inner { width: calc(100% - 36px); }
    .n10-hero-side-note { display: none; }
    .n10-hero h1 { font-size: clamp(64px, 15vw, 95px); }
    .n10-hero-kicker { font-size: 9px; letter-spacing: .18em; }
    .n10-hero-center > p { font-size: 14px; max-width: 320px; }
    .n10-hero-bottom { bottom: 28px; font-size: 9px; }
    .n10-hero-bottom span:last-child { display: none; }

    .n10-story { padding: 75px 0; }
    .n10-story-container {
        width: calc(100% - 36px);
        grid-template-columns: 1fr;
        gap: 42px;
    }
    .n10-story-image { height: 450px; }
    .n10-story h2 { font-size: clamp(43px, 10vw, 61px); }
    .n10-story-lead { font-size: 21px; }
    .n10-story-description { font-size: 14px; }
}
